html,body{width:100%;height:100%}input::-ms-clear,input::-ms-reveal{display:none}html{font-family:sans-serif;line-height:1.15;-webkit-text-size-adjust:100%;-ms-text-size-adjust:100%;-ms-overflow-style:scrollbar;-webkit-tap-highlight-color:rgba(0,0,0,0)}@-ms-viewport{width:device-width}body{margin:0}[tabindex="-1"]:focus{outline:none}hr{box-sizing:content-box;height:0;overflow:visible}h1,h2,h3,h4,h5,h6{margin-top:0;margin-bottom:.5em;font-weight:500}p{margin-top:0;margin-bottom:1em}abbr[title],abbr[data-original-title]{-webkit-text-decoration:underline dotted;text-decoration:underline dotted;border-bottom:0;cursor:help}address{margin-bottom:1em;font-style:normal;line-height:inherit}input[type=text],input[type=password],input[type=number],textarea{-webkit-appearance:none}ol,ul,dl{margin-top:0;margin-bottom:1em}ol ol,ul ul,ol ul,ul ol{margin-bottom:0}dt{font-weight:500}dd{margin-bottom:.5em;margin-left:0}blockquote{margin:0 0 1em}dfn{font-style:italic}b,strong{font-weight:bolder}small{font-size:80%}sub,sup{position:relative;font-size:75%;line-height:0;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}pre,code,kbd,samp{font-size:1em;font-family:SFMono-Regular,Consolas,Liberation Mono,Menlo,Courier,monospace}pre{margin-top:0;margin-bottom:1em;overflow:auto}figure{margin:0 0 1em}img{vertical-align:middle;border-style:none}a,area,button,[role=button],input:not([type=range]),label,select,summary,textarea{touch-action:manipulation}table{border-collapse:collapse}caption{padding-top:.75em;padding-bottom:.3em;text-align:left;caption-side:bottom}input,button,select,optgroup,textarea{margin:0;color:inherit;font-size:inherit;font-family:inherit;line-height:inherit}button,input{overflow:visible}button,select{text-transform:none}button,html [type=button],[type=reset],[type=submit]{-webkit-appearance:button}button::-moz-focus-inner,[type=button]::-moz-focus-inner,[type=reset]::-moz-focus-inner,[type=submit]::-moz-focus-inner{padding:0;border-style:none}input[type=radio],input[type=checkbox]{box-sizing:border-box;padding:0}input[type=date],input[type=time],input[type=datetime-local],input[type=month]{-webkit-appearance:listbox}textarea{overflow:auto;resize:vertical}fieldset{min-width:0;margin:0;padding:0;border:0}legend{display:block;width:100%;max-width:100%;margin-bottom:.5em;padding:0;color:inherit;font-size:1.5em;line-height:inherit;white-space:normal}progress{vertical-align:baseline}[type=number]::-webkit-inner-spin-button,[type=number]::-webkit-outer-spin-button{height:auto}[type=search]{outline-offset:-2px;-webkit-appearance:none}[type=search]::-webkit-search-cancel-button,[type=search]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{font:inherit;-webkit-appearance:button}output{display:inline-block}summary{display:list-item}template{display:none}[hidden]{display:none!important}mark{padding:.2em;background-color:#feffe6}:root{--bg: #ffffff;--sidebar: #fbfbfb;--surface: #ffffff;--surface-soft: rgba(255, 255, 255, .82);--line: rgba(27, 26, 24, .08);--line-strong: rgba(27, 26, 24, .14);--text: #1f1d1b;--muted: #7b766f;--shadow: 0 16px 50px rgba(20, 17, 12, .08);--shadow-soft: 0 10px 30px rgba(20, 17, 12, .06);--font-sans: "SF Pro Text", "PingFang SC", "Microsoft YaHei", sans-serif;--font-display: "Palatino Linotype", "Times New Roman", "Songti SC", serif;--auth-ink: #231f18;--auth-accent: #b76a2f}*,*:before,*:after{box-sizing:border-box}*{scrollbar-width:thin;scrollbar-color:rgba(27,26,24,.15) transparent}::-webkit-scrollbar{width:6px;height:6px}::-webkit-scrollbar-track{background:transparent}::-webkit-scrollbar-thumb{background:#1b1a1826;border-radius:3px}::-webkit-scrollbar-thumb:hover{background:#1b1a184d}::-webkit-scrollbar-thumb:active{background:#1b1a1866}::-webkit-scrollbar-corner{background:transparent}html,body,#root{height:100%;width:100%;overflow-x:hidden}body{margin:0;background:linear-gradient(180deg,#f8f7f4,#f7f5f1);color:var(--text);font-family:var(--font-sans);overflow-x:hidden}button,input,textarea{font:inherit}.auth-shell{min-height:100vh;display:grid;grid-template-columns:minmax(320px,540px) minmax(320px,460px);align-items:center;justify-content:center;gap:32px;padding:32px;background:radial-gradient(circle at top left,rgba(223,214,194,.65),transparent 24%),radial-gradient(circle at right center,rgba(208,165,121,.2),transparent 28%),linear-gradient(160deg,#efe6d6,#f8f5ef,#f3eee6)}.auth-showcase{position:relative;padding:40px 36px;border-radius:32px;color:var(--auth-ink);background:linear-gradient(160deg,#fff8eeeb,#fffcf7a6);border:1px solid rgba(55,40,24,.08);box-shadow:0 28px 70px #2f231317;overflow:hidden}.auth-shell:not(.auth-shell-compact) .auth-showcase{min-height:705px}.auth-showcase:after{content:"";position:absolute;inset:auto -60px -110px auto;width:220px;height:220px;border-radius:999px;background:radial-gradient(circle,#b76a2f29,#b76a2f00);pointer-events:none}.auth-showcase-badge{display:inline-flex;align-items:center;gap:12px;margin-bottom:28px;padding:10px 14px;border-radius:999px;background:#ffffffb8;border:1px solid rgba(55,40,24,.08);font-size:14px;font-weight:700;letter-spacing:.04em;text-transform:uppercase}.auth-card{width:min(460px,calc(100vw - 32px));border-radius:28px!important;border:1px solid rgba(55,40,24,.08)!important;background:#ffffffd1!important;box-shadow:0 28px 70px #1815101a!important;-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);view-transition-name:auth-card;animation:auth-shell-enter-right .52s cubic-bezier(.22,1,.36,1) both}.auth-card .ant-card-body{padding:28px 28px 24px}.auth-shell[data-auth-mode=register] .auth-card{animation-name:auth-shell-enter-right-strong}.auth-logo{width:44px;height:44px;flex:none}.auth-showcase-title.ant-typography{margin-bottom:14px;color:var(--auth-ink);font-family:var(--font-display);font-size:clamp(26px,3vw,38px);line-height:1.12;letter-spacing:-.04em}.auth-showcase-description.ant-typography{max-width:460px;margin-bottom:34px;color:#231f18b8;font-size:16px;line-height:1.8}.auth-showcase-extra{display:grid;gap:12px}.auth-highlight-list{display:grid;gap:14px}.auth-highlight-item{display:grid;grid-template-columns:48px minmax(0,1fr);gap:14px;align-items:start;padding:16px 18px;border-radius:22px;background:#ffffff8f;border:1px solid rgba(55,40,24,.06)}.auth-highlight-index{width:48px;height:48px;display:grid;place-items:center;border-radius:16px;background:linear-gradient(135deg,#b76a2f2e,#b76a2f0a);color:var(--auth-accent);font-size:14px;font-weight:700}.auth-highlight-copy{display:grid;gap:6px}.auth-highlight-copy strong{font-size:16px}.auth-highlight-copy span{color:#231f18ad;font-size:14px;line-height:1.7}.auth-panel-header{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:22px}.auth-panel-eyebrow{color:#8e7f6d;font-size:12px;font-weight:700;letter-spacing:.12em;text-transform:uppercase}.auth-mode-switch{position:relative;display:inline-grid;grid-template-columns:repeat(2,minmax(0,1fr));padding:4px;border-radius:999px;background:#f4ede3;isolation:isolate}.auth-mode-switch:before{content:"";position:absolute;inset:4px auto 4px 4px;width:calc(50% - 4px);border-radius:999px;background:#fff;box-shadow:0 10px 24px #241e1614;transform:translate(0);transition:transform .32s cubic-bezier(.22,1,.36,1);z-index:0}.auth-mode-switch[data-mode=register]:before{transform:translate(100%)}.auth-mode-link{position:relative;min-width:82px;padding:8px 14px;border-radius:999px;color:#7f7468;font-size:14px;font-weight:600;text-align:center;text-decoration:none;transition:color .18s ease,transform .18s ease;z-index:1}.auth-mode-link.active{color:var(--auth-ink)}.auth-title.ant-typography{margin-bottom:10px;font-size:34px;line-height:1.14;letter-spacing:-.03em}.auth-description.ant-typography{margin-bottom:22px;color:var(--muted);font-size:15px;line-height:1.7}.auth-form .ant-form-item{margin-bottom:18px}.auth-form{animation:auth-content-rise .46s cubic-bezier(.22,1,.36,1) .08s both}.auth-form .ant-input,.auth-form .ant-input-affix-wrapper{border-radius:16px;padding-top:11px;padding-bottom:11px}.auth-form .ant-input:focus,.auth-form .ant-input-affix-wrapper-focused{border-color:#b76a2f6b;box-shadow:0 0 0 4px #b76a2f1a}.auth-register-grid{display:grid;gap:18px}.auth-register-grid .ant-form-item{margin-bottom:0}.auth-register-row{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.auth-code-row{display:grid;grid-template-columns:minmax(0,1fr) 136px;gap:12px;align-items:end}.auth-code-send{height:48px;border-radius:16px;border-color:#b76a2f2e!important;color:var(--auth-ink)!important;background:#f7eee0eb!important;box-shadow:inset 0 1px #ffffffe6}.auth-register-help{margin:16px 0 0;color:#8a7b69;font-size:13px;line-height:1.7}.auth-register-submit{margin-top:18px}.auth-primary-button,.auth-secondary-button{height:48px;border-radius:16px;font-weight:600}.auth-primary-button{background:linear-gradient(135deg,#221c15,#483423)!important;border:none!important;box-shadow:0 14px 34px #221c152e}.auth-secondary-button{display:inline-flex;align-items:center;justify-content:center;gap:8px;color:var(--auth-ink)!important;border:1px solid rgba(183,106,47,.18)!important;background:linear-gradient(135deg,#b76a2f1f,#fffffff0)!important;box-shadow:0 14px 34px #b76a2f14}.auth-button-icon{width:15px;height:15px}.auth-footer-note{display:flex;align-items:center;justify-content:center;gap:8px;margin-top:18px;color:#7f7468;font-size:14px}.auth-footer-link{color:var(--auth-accent);font-weight:600;text-decoration:none}.auth-inline-alert{margin-bottom:18px}.auth-motion-block{animation:auth-content-rise .42s cubic-bezier(.22,1,.36,1)}.auth-inline-actions{display:flex;justify-content:flex-end;margin:-8px 0 16px}.auth-support-card{margin-top:18px;padding-top:18px;border-top:1px solid rgba(35,31,24,.08)}.auth-support-form{margin-top:16px}.email-verification-modal-form{margin-top:18px}.email-verification-modal-actions{display:grid;grid-template-columns:1fr 1fr;gap:12px}.auth-shell-compact{align-items:center;grid-template-columns:minmax(300px,430px) minmax(320px,470px);gap:24px}.auth-status-card{display:flex;align-items:center}.auth-status-content{display:grid;gap:16px;animation:auth-content-rise .46s cubic-bezier(.22,1,.36,1) .08s both}.auth-status-actions{display:flex;justify-content:flex-end}.auth-status-loading{display:flex;justify-content:center;padding:24px 0}.auth-turnstile{min-height:65px}.auth-shell-recovery{grid-template-columns:minmax(320px,540px) minmax(320px,440px)}.auth-card-recovery{width:min(440px,calc(100vw - 32px))}.auth-recovery-steps{display:grid;gap:14px}.auth-recovery-step-card{display:grid;grid-template-columns:48px minmax(0,1fr);gap:14px;align-items:start;padding:16px 18px;border-radius:22px;background:#ffffff8f;border:1px solid rgba(55,40,24,.06)}.auth-recovery-step-card span{width:48px;height:48px;display:grid;place-items:center;border-radius:16px;background:linear-gradient(135deg,#b76a2f2e,#b76a2f0a);color:var(--auth-accent);font-size:14px;font-weight:700;letter-spacing:.04em}.auth-recovery-step-copy{display:grid;gap:6px}.auth-recovery-step-copy strong{font-size:16px}.auth-recovery-step-copy small{color:#231f18a8;font-size:14px;line-height:1.7}.auth-recovery-showcase-list{display:grid;gap:10px}.auth-recovery-showcase-point{display:grid;gap:3px;padding-left:16px;position:relative}.auth-recovery-showcase-point:before{content:"";position:absolute;left:0;top:9px;width:6px;height:6px;border-radius:999px;background:#b76a2fd9}.auth-recovery-showcase-point strong{font-size:14px}.auth-recovery-showcase-point span{color:#231f18ad;font-size:13px;line-height:1.65}.auth-recovery-form{margin-bottom:18px}.auth-code-row-aligned{align-items:start}.auth-code-action{display:grid;gap:8px;align-self:start}.auth-code-action-spacer{min-height:22px;color:transparent;font-size:14px;line-height:1.5714285714;-webkit-user-select:none;user-select:none;pointer-events:none}.auth-code-action .auth-code-send{width:100%}.auth-recovery-password-row{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.auth-recovery-helper{margin:0 0 18px;color:#8a7b69;font-size:13px;line-height:1.7}.auth-recovery-links,.auth-recovery-actions{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}.auth-recovery-result{display:grid;gap:16px}.auth-recovery-result-meta{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.auth-recovery-result-chip{display:grid;gap:6px;padding:16px 18px;border-radius:18px;background:#f8f7f4f2;border:1px solid rgba(27,26,24,.08)}.auth-recovery-result-chip span{color:#8a7b69;font-size:12px}.auth-recovery-result-chip strong{font-size:15px;line-height:1.5;word-break:break-word}.auth-recovery-success{display:grid;gap:16px;animation:auth-content-rise .42s cubic-bezier(.22,1,.36,1)}@keyframes auth-shell-enter-right{0%{opacity:0;transform:translate3d(0,28px,0) scale(.985)}to{opacity:1;transform:translateZ(0) scale(1)}}@keyframes auth-shell-enter-right-strong{0%{opacity:0;transform:translate3d(26px,26px,0) scale(.98)}to{opacity:1;transform:translateZ(0) scale(1)}}@keyframes auth-content-rise{0%{opacity:0;transform:translate3d(0,14px,0)}to{opacity:1;transform:translateZ(0)}}::view-transition-old(root),::view-transition-new(root){animation:none}::view-transition-group(auth-card){animation-duration:.4s;animation-timing-function:cubic-bezier(.22,1,.36,1)}::view-transition-old(auth-card){animation:auth-shell-enter-right .22s cubic-bezier(.55,0,1,.45) reverse both}::view-transition-new(auth-card){animation:auth-shell-enter-right .4s cubic-bezier(.22,1,.36,1) both}.chat-shell{display:grid;grid-template-columns:var(--sidebar-width, 260px) 8px minmax(0,1fr);width:100%;height:100vh;background:var(--bg);overflow:hidden}.chat-shell.resizing-sidebar{cursor:col-resize;-webkit-user-select:none;user-select:none}.chat-shell.resizing-sidebar .chat-main,.chat-shell.resizing-sidebar .chat-sidebar{pointer-events:none}.mobile-chat-header,.mobile-sidebar-backdrop{display:none}.chat-sidebar{width:calc(100% + 4px);display:flex;flex-direction:column;height:100%;min-height:0;padding:12px 10px 18px;background:var(--sidebar);box-sizing:border-box}.sidebar-resizer{width:8px;height:100%;padding:0;border:none;background:linear-gradient(90deg,transparent 0 3px,var(--line) 3px 4px,transparent 4px 100%);cursor:col-resize;touch-action:none;position:relative;z-index:4}.sidebar-resizer:after{content:"";position:absolute;top:50%;left:50%;width:3px;height:44px;border-radius:999px;background:#1f1d1b24;opacity:0;transform:translate(-50%,-50%);transition:opacity .16s ease,background .16s ease}.sidebar-resizer:hover:after,.sidebar-resizer:focus-visible:after,.chat-shell.resizing-sidebar .sidebar-resizer:after{opacity:1;background:#1f1d1b57}.sidebar-resizer:focus-visible{outline:none}.global-image-drop-overlay{position:fixed;top:0;right:0;bottom:0;left:0;z-index:1200;display:grid;place-items:center;padding:24px;background:#ffffffb8;backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px);pointer-events:none}.global-image-drop-panel{width:min(420px,100%);min-height:180px;display:grid;place-items:center;align-content:center;gap:10px;padding:28px;border:1px dashed rgba(183,106,47,.42);border-radius:18px;background:#fffcf7f0;box-shadow:0 18px 48px #14110c24;color:#4d463d;text-align:center}.global-image-drop-icon{width:48px;height:48px;display:inline-grid;place-items:center;border-radius:16px;background:#b76a2f1f;color:#8f572f}.global-image-drop-icon svg{width:26px;height:26px}.global-image-drop-panel strong{font-size:16px;line-height:1.35}.global-image-drop-panel span:last-child{color:var(--muted);font-size:13px;line-height:1.4}.sidebar-topbar{display:flex;justify-content:flex-start;align-items:center;margin-bottom:12px}.sidebar-brand-button{width:46px;height:46px;border-radius:16px}.icon-button{width:34px;height:34px;display:inline-flex;align-items:center;justify-content:center;border:none;border-radius:12px;background:transparent;color:var(--text);cursor:pointer}.icon-button:hover,.icon-button.subtle:hover{background:#ffffffb8}.logo-mark,.nav-icon,.history-icon,.thread-logo{width:18px;height:18px}.logo-mark{width:28px;height:28px}.sidebar-nav{display:flex;flex-direction:column;gap:6px;margin-bottom:18px}.sidebar-button,.history-item{position:relative;width:100%;display:flex;align-items:center;gap:10px;padding:11px 12px;border:none;border-radius:14px;background:transparent;color:var(--text);text-align:left;cursor:pointer}.sidebar-button.active,.sidebar-button:hover,.history-item:hover{background:#ffffffd6}.history-item.active{background:#b76a2f29;color:var(--text)}.history-item.active .history-title{font-weight:700}.sidebar-history{flex:1;min-height:0;overflow:auto;padding-bottom:12px}.sidebar-caption{padding:0 8px 8px;color:#98928a;font-size:12px}.empty-history{padding:0 10px;color:var(--muted);font-size:13px}.history-copy{min-width:0;flex:1;display:flex;flex-direction:column}.history-title-row{display:flex;align-items:center;gap:8px;width:100%;min-width:0}.history-title{min-width:0;flex:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.history-status-indicator{width:16px;height:16px;margin-left:auto;display:inline-flex;align-items:center;justify-content:center;flex:none;color:var(--muted)}.history-status-indicator.loading{color:#6f7fb7}.history-status-indicator.failed{color:#ca5a5a}.history-status-icon,.history-menu-icon{width:14px;height:14px}.history-status-icon.spinner{animation:history-spin .9s linear infinite}@keyframes history-spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.sidebar-footer{position:relative;margin-top:auto;padding-top:12px}.account-chip{width:100%;display:flex;align-items:center;gap:10px;padding:10px;border:none;border-radius:16px;background:#ffffffd1;box-shadow:0 6px 18px #14110c0d;text-align:left;cursor:pointer}.account-avatar{width:30px;height:30px;border-radius:999px;display:grid;place-items:center;background:linear-gradient(135deg,#b671dd,#9f9be7);color:#fff;font-size:12px;flex:none}.account-meta{display:flex;flex-direction:column;min-width:0;flex:1}.account-label{color:var(--muted);font-size:12px}.account-name{font-size:14px;white-space:nowrap}.account-caret{width:16px;height:16px;display:inline-flex;align-items:center;justify-content:center;color:var(--muted);transition:transform .2s ease}.account-caret.expanded{transform:rotate(180deg)}.profile-popover{position:absolute;left:0;right:0;bottom:calc(100% + 10px);padding:12px;border-radius:18px;background:#ffffffe0;box-shadow:var(--shadow-soft);display:flex;flex-direction:column;gap:10px;z-index:3}.profile-header{display:flex;align-items:center;justify-content:space-between;gap:12px}.profile-title{font-size:13px;font-weight:600}.profile-tag{padding:3px 8px;border-radius:999px;background:#f0ece3;color:#665f57;font-size:11px}.profile-row{display:flex;justify-content:space-between;gap:14px;font-size:13px;color:var(--muted)}.profile-row span{white-space:nowrap}.profile-row strong{color:var(--text);text-align:right}.referral-summary{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 0 2px;border-top:1px solid var(--line)}.referral-summary>div{display:flex;flex-direction:column;gap:3px;color:var(--muted);font-size:12px}.referral-summary strong{color:var(--text);font-size:14px}.referral-view-button{height:32px;padding:0 12px;border:1px solid rgba(31,29,27,.1);border-radius:10px;background:#1f1d1b;color:#fff;font-size:12px;font-weight:600;cursor:pointer;transition:transform .18s ease,background .18s ease;white-space:nowrap}.referral-view-button:hover{background:#37322d;transform:translateY(-1px)}.referral-modal-summary{display:inline-flex;align-items:baseline;gap:6px;margin-bottom:14px;padding:8px 12px;border-radius:12px;background:#f7f5f1eb;color:var(--muted);font-size:12px}.referral-modal-summary strong{color:var(--text);font-size:20px}.referral-empty{padding:10px 12px;border-radius:12px;background:#f7f5f1eb;color:var(--muted);font-size:12px;line-height:1.6}.referral-empty.modal-empty{padding:18px;text-align:center}.referral-list{display:flex;flex-direction:column;gap:8px;max-height:180px;overflow-y:auto}.referral-list.modal-list{max-height:min(440px,62vh);padding-right:4px}.referral-item{display:flex;flex-direction:column;gap:4px;padding:10px 12px;border-radius:12px;background:#f7f5f1eb}.referral-item.modal-item{padding:12px 14px;border:1px solid rgba(31,29,27,.06)}.referral-item-head{display:flex;align-items:center;justify-content:space-between;gap:8px}.referral-item-head strong{color:var(--text);font-size:12px;min-width:0;overflow-wrap:anywhere}.referral-item-head span,.referral-item-meta{color:var(--muted);font-size:11px;line-height:1.5}.referral-item-head span.settled{color:#2f7d51}.referral-item-head span.pending{color:#9a6a22}.redeem-panel{display:flex;flex-direction:column;gap:8px;padding-top:4px}.redeem-panel-label{color:var(--muted);font-size:12px}.redeem-panel-controls{display:flex;gap:8px}.redeem-panel-input{min-width:0;flex:1;height:36px;padding:0 12px;border:1px solid var(--line);border-radius:12px;background:#fffffff5;color:var(--text);text-transform:uppercase;box-sizing:border-box}.redeem-panel-input:focus{outline:none;border-color:#96773f73;box-shadow:0 0 0 3px #96773f1f}.redeem-panel-button{height:36px;padding:0 14px;border:none;border-radius:12px;background:#1f1d1b;color:#fff;cursor:pointer;flex:none}.redeem-panel-button:disabled{opacity:.55;cursor:not-allowed}.profile-actions{padding-top:2px}.profile-logout-button{width:100%;height:38px;border:1px solid rgba(190,62,62,.14);border-radius:12px;background:#fff4f4f5;color:#bf3d3d;font-weight:600;cursor:pointer;transition:background .18s ease,border-color .18s ease,transform .18s ease}.profile-logout-button:hover{background:#ffececfa;border-color:#be3e3e38;transform:translateY(-1px)}.chat-main{min-width:0;display:flex;flex-direction:column;overflow:hidden}.chat-body{flex:1;min-height:0;display:flex;flex-direction:column}.chat-body.empty{justify-content:center;align-items:center;gap:40px;padding:24px 24px 32px}.chat-body.with-thread{overflow:hidden}.chat-header{height:64px;padding:12px 24px 0;display:flex;justify-content:space-between;align-items:flex-start}.title-trigger{display:inline-flex;align-items:center;gap:6px;border:none;background:transparent;font-size:28px;font-weight:600;cursor:pointer}.chevron-icon{width:16px;height:16px}.header-actions{display:flex;align-items:center;gap:10px}.plus-badge{height:36px;display:inline-flex;align-items:center;gap:8px;border:none;border-radius:999px;padding:0 14px;background:#f2ecff;color:#6e5ccf;font-weight:600;cursor:pointer}.plus-badge-icon{width:15px;height:15px}.conversation-stage{display:flex;flex-direction:column}.conversation-stage.empty{width:min(760px,calc(100vw - 360px));align-items:center;text-align:center;padding:0;flex:none}.conversation-stage.with-thread{flex:1;min-width:0;min-height:0;overflow:auto;overflow-x:hidden;justify-content:flex-start;align-items:stretch;padding:18px 0 0}.hero-copy{text-align:center}.hero-title.ant-typography{margin-bottom:8px;font-size:clamp(28px,4vw,48px);letter-spacing:-.04em}.hero-subtitle.ant-typography{color:var(--muted);margin-bottom:0}.empty-hint{color:var(--muted);font-size:14px}.conversation-thread{width:min(860px,calc(100vw - 360px));max-width:100%;min-width:0;display:flex;flex-direction:column;padding:0 24px;margin:0 auto}.scroll-to-bottom-button{width:42px;height:42px;display:inline-flex;align-items:center;justify-content:center;border:1px solid rgba(27,26,24,.08);border-radius:999px;background:#fffffff0;box-shadow:0 8px 20px #14110c14;color:var(--text);cursor:pointer;pointer-events:auto;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);transition:transform .18s ease,box-shadow .18s ease,background .18s ease}.scroll-to-bottom-button:hover{background:#fff;transform:translateY(-1px);box-shadow:0 10px 24px #14110c1a}.scroll-to-bottom-icon{width:25px;height:25px;transform:rotate(180deg)}.conversation-thread-bottom{height:1px}.thread-turn{display:flex;flex-direction:column}.message-row{display:flex;align-items:flex-start;min-width:0;margin-top:30px}.message-row.user{justify-content:flex-start;flex-direction:row-reverse;gap:0}.message-card{width:100%;min-width:0;border-radius:12px;padding:16px 18px}.message-shell{flex:0 1 min(720px,100%);min-width:0;display:flex;flex-direction:column;gap:10px}.message-shell.user{align-items:flex-end}.message-card.user{width:auto;max-width:calc(90% - 34px);background:#e5edff7a;border-color:#6a84d624}.message-card.assistant{width:min(100%,calc(90% - 8px));max-width:100%}.generation-content{display:flex;flex-direction:column;gap:0}.image-generation-content{align-items:flex-start}.thread-media-frame{width:min(100%,520px);max-width:100%;transition:aspect-ratio .52s cubic-bezier(.22,1,.36,1),width .52s cubic-bezier(.22,1,.36,1),min-height .52s cubic-bezier(.22,1,.36,1),max-width .52s cubic-bezier(.22,1,.36,1),border-radius .28s ease,box-shadow .28s ease,background-color .28s ease}.generation-placeholder-shell{position:relative;min-height:180px;padding:14px;border-radius:24px;overflow:hidden;display:grid;place-items:start}.image-generation-placeholder{box-shadow:inset 0 0 0 1px #1b1a180a}.generation-status-badge{position:relative;z-index:2;display:inline-flex;align-items:flex-start;gap:10px;max-width:min(86%,360px);padding:10px 14px;border-radius:18px;background:#ffffffb8;border:1px solid rgba(27,26,24,.06);box-shadow:0 10px 24px #14110c0f;backdrop-filter:blur(14px);-webkit-backdrop-filter:blur(14px)}.generation-status-dot{width:10px;height:10px;margin-top:4px;border-radius:999px;background:#c87a3d;box-shadow:0 0 0 6px #c87a3d24;animation:generationStatusDotPulse 1.6s ease-in-out infinite;flex:none}.generation-status-copy{display:grid;gap:4px;min-width:0}.generation-status-copy-animated{animation:generationStatusCopyFade .28s ease both}.generation-status-text{display:block;color:#4d463d;font-size:13px;font-weight:700;line-height:1.4;letter-spacing:.01em}.generation-status-meta{color:#8a7f73;font-size:12px;line-height:1.3;word-break:break-word}.generation-placeholder-inner{position:absolute;top:0;right:0;bottom:0;left:0;border-radius:inherit;overflow:hidden;border:1px solid rgba(27,26,24,.07);pointer-events:none;background:#f4f5f7;will-change:background-color;background-size:200% 100%;animation:generationPlaceholderBreath 5s cubic-bezier(.4,0,.2,1) infinite}.message-meta{display:flex;justify-content:space-between;align-items:center;gap:12px;color:var(--muted);font-size:12px;padding:0 10px}.message-actions{display:flex;align-items:center;gap:4px;flex-wrap:wrap}.message-action-btn{display:inline-flex;align-items:center;gap:4px;min-height:28px;padding:4px 9px;border:1px solid rgba(0,0,0,.06);background:#ffffffc7;color:#70695f;cursor:pointer;border-radius:999px;font-size:12px;line-height:1;box-shadow:0 1px 2px #14110c08;transition:color .15s ease,background .15s ease,border-color .15s ease,transform .15s ease}.message-action-btn:hover{color:var(--text);border-color:#0000001a;background:#fffffff5;transform:translateY(-1px)}.message-action-btn:active{transform:translateY(0)}.message-action-icon{width:14px;height:14px;flex:none}.assistant-actions{margin-bottom:10px;justify-content:flex-start}.retry-btn{color:var(--error, #ef4444);border-color:#ef44442e;background:#fef2f2e0}.retry-btn:hover{color:var(--error, #ef4444);border-color:#ef444442;background:#fee2e2f5}.message-text.ant-typography{margin-bottom:0;white-space:pre-wrap}.text-generation-placeholder{position:relative;width:auto;min-height:36px;display:flex;align-items:center;justify-content:flex-start}.text-generation-dot{width:9px;height:9px;border-radius:999px;background:#2f6f6c;box-shadow:0 0 #2f6f6c2e;animation:textThinkingDotScale 1.05s ease-in-out infinite}.text-response{margin:0;max-width:100%;color:var(--text);font-size:15px;line-height:1.78;word-break:break-word;overflow-wrap:anywhere}.markdown-response{max-width:min(100%,720px);overflow-wrap:anywhere}.markdown-response>*:first-child{margin-top:0}.markdown-response>*:last-child{margin-bottom:0}.markdown-response p{margin:0 0 .9em}.markdown-response h1,.markdown-response h2,.markdown-response h3,.markdown-response h4{margin:1.1em 0 .55em;color:#2c2925;line-height:1.35}.markdown-response h1{font-size:1.45em}.markdown-response h2{font-size:1.28em}.markdown-response h3{font-size:1.12em}.markdown-response ul,.markdown-response ol{margin:0 0 .95em;padding-left:1.35em}.markdown-response li{margin:.24em 0}.markdown-response blockquote{margin:1em 0;padding:.2em 0 .2em 1em;color:#6f685f;border-left:3px solid rgba(183,106,47,.28)}.markdown-response a{color:#8f5528;text-decoration:underline;text-underline-offset:3px}.markdown-response code{padding:.12em .34em;border-radius:6px;background:#231f1812;color:#4a4035;font-size:.92em}.markdown-response .markdown-code-block{margin:1em 0;max-width:100%;overflow:hidden;border-radius:12px;background:#f6f5f3;border:1px solid rgba(35,31,24,.1)}.markdown-code-header{min-height:34px;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:0 10px 0 14px;background:#ebe6df;color:#6d5a49;font-size:12px;font-weight:700;text-transform:lowercase}.markdown-code-copy{min-height:26px;display:inline-flex;align-items:center;gap:5px;padding:0 9px;border:1px solid rgba(183,106,47,.18);border-radius:999px;background:#ffffffb8;color:#7a4c2b;cursor:pointer;font-size:12px}.markdown-code-copy:hover{background:#fff;border-color:#b76a2f57}.markdown-code-copy-icon{width:13px;height:13px}.markdown-response .markdown-code-block pre{margin:0;padding:14px 16px;max-width:100%;overflow-x:auto;background:transparent;color:#2f2b26}.markdown-response .markdown-code-block pre code{padding:0;background:transparent;color:inherit;font-size:.92em}.markdown-response table{width:100%;max-width:100%;display:block;overflow-x:auto;margin:1em 0;border-collapse:collapse;font-size:.94em}.markdown-response th,.markdown-response td{padding:9px 11px;border:1px solid rgba(27,26,24,.09);text-align:left;vertical-align:top}.markdown-response th{background:#b76a2f14;color:#3f3429;font-weight:700}.markdown-response hr{height:1px;margin:1.2em 0;border:0;background:#1b1a181a}.thread-assets{display:grid;grid-template-columns:repeat(auto-fill,minmax(180px,1fr));gap:14px;margin-top:14px}.thread-assets.single{display:block}.thread-assets.single .thread-asset-wrapper{display:flex}.thread-assets.input-assets{display:flex;flex-wrap:wrap;gap:8px;justify-content:flex-end}.thread-asset{position:relative;display:flex;flex-direction:column;gap:8px;border-radius:18px;background:#f8f7f4f5;text-decoration:none;color:var(--text);border:none;padding:0;cursor:pointer;width:100%}.thread-asset-wrapper{border-radius:18px}.thread-gallery{display:grid;grid-template-columns:minmax(0,var(--thread-gallery-main-width, 1fr)) 88px;gap:14px;align-items:start;margin-top:14px;width:fit-content;max-width:100%}.thread-gallery:has(.thread-gallery-main .thread-asset-image-shell-error){grid-template-columns:max-content 88px}.thread-gallery-main{min-width:0;display:flex;width:min(100%,var(--thread-gallery-main-width, 100%))}.thread-gallery-main:has(.thread-output-frame){width:fit-content;max-width:100%}.thread-gallery-main-card{overflow:hidden;background:transparent}.thread-gallery-main .image-generation-content{width:100%}.thread-gallery-thumbs-shell{display:grid;grid-template-rows:28px minmax(0,1fr) 28px;gap:8px;width:88px;max-height:min(var(--thread-gallery-main-height, 520px),64vh);min-height:0}.thread-gallery-thumbs{display:grid;gap:10px;min-height:0;overflow-y:auto;overflow-x:hidden;overscroll-behavior:contain;scroll-behavior:smooth;scrollbar-width:none;padding:2px 0}.thread-gallery-thumbs::-webkit-scrollbar{display:none}.thread-gallery-nav{width:88px;height:28px;border:1px solid rgba(27,26,24,.08);border-radius:12px;background:#ffffffdb;color:#1f1d1b94;cursor:pointer;display:grid;place-items:center;box-shadow:0 4px 12px #14110c0a;transition:background-color .18s ease,border-color .18s ease,color .18s ease,transform .18s ease}.thread-gallery-nav:hover{background:#fffcf7fa;border-color:#b76a2f38;color:#1f1d1bc7;transform:translateY(-1px)}.thread-gallery-nav-icon{font-size:12px}.thread-gallery-thumb{position:relative;width:88px;height:88px;padding:0;border:1px solid rgba(27,26,24,.06);border-radius:14px;background:#ffffffd1;overflow:hidden;cursor:pointer;display:block;box-shadow:0 4px 12px #14110c0a;transition:border-color .18s ease,box-shadow .18s ease,background-color .18s ease}.thread-gallery-thumb:hover{border-color:#b76a2f42;box-shadow:0 8px 18px #14110c14}.thread-gallery-thumb.active:hover{border-color:#b76a2f61}.thread-gallery-thumb.active{border-color:#b76a2f61;background:#fffcf7f5;box-shadow:0 10px 22px #14110c14}.thread-gallery-thumb.active:after{content:"";position:absolute;top:0;right:0;bottom:0;left:0;border-radius:inherit;box-shadow:inset 0 0 0 1px #ffffffd1;pointer-events:none}.thread-gallery-thumb-overlay{position:absolute;top:0;right:0;bottom:0;left:0;border-radius:inherit;background:linear-gradient(180deg,#ffffff12,#ffffff09);box-shadow:inset 0 0 0 1px #ffffff0f,inset 0 -8px 14px #1916120d;backdrop-filter:blur(1px) saturate(1.02);-webkit-backdrop-filter:blur(1px) saturate(1.02);opacity:1;transition:opacity .18s ease;pointer-events:none}.thread-gallery-thumb.active .thread-gallery-thumb-overlay{opacity:0}.missing-output-thumb{background:#f7f5f1e6}.missing-output-grid{grid-template-columns:repeat(auto-fill,minmax(140px,180px))}.missing-output-placeholder{min-height:88px;border:1px dashed rgba(31,29,27,.18);background:#f7f5f1b8;cursor:default}.missing-output-placeholder.slot-failed{border-color:#ef444447;background:#fff1f2}.missing-output-placeholder.slot-cancelled{border-color:#6b72803d;background:#f3f4f6d1}.thread-gallery-main-card .missing-output-placeholder{width:100%;height:100%;min-height:180px;border-radius:18px}.thread-gallery-thumbs .missing-output-placeholder{min-height:0;width:88px;height:88px;border-radius:14px;border:0}.missing-output-inner{width:100%;min-height:inherit;height:100%;display:grid;place-items:center;align-content:center;gap:6px;color:var(--muted);font-size:11px;text-align:center}.thread-gallery-thumbs .missing-output-inner{padding:8px}.missing-output-inner span:last-child{max-width:100%;line-height:1.2;overflow-wrap:anywhere}.missing-output-icon{font-size:18px}.missing-output-cancelled-dot{width:18px;height:18px;border-radius:50%;border:2px solid rgba(107,114,128,.56)}.missing-output-retry-btn{width:36px;height:36px;border:0;border-radius:50%;display:inline-grid;place-items:center;background:transparent;color:#ef4444;cursor:pointer}.missing-output-retry-btn:hover{background:#ef444414}.slot-failed .missing-output-icon{width:28px;height:28px;color:#ef4444}.thread-asset-toolbar{position:absolute;bottom:12px;left:12px;right:12px;display:flex;align-items:center;gap:12px;padding:0;line-height:1}.thread-asset-toolbar-btn{display:inline-flex;align-items:center;justify-content:center;min-height:34px;padding:0 12px;border:1px solid rgba(255,255,255,.16);border-radius:999px;background:#111111ad;color:#fff;font-size:13px;font-weight:600;cursor:pointer;box-shadow:0 6px 18px #0000002e;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);transition:background .2s ease,border-color .2s ease,transform .2s ease,box-shadow .2s ease}.thread-asset-toolbar-btn.download{margin-left:auto}.thread-asset-toolbar-btn:hover{background:#111111d1;border-color:#ffffff3d;transform:translateY(-1px);box-shadow:0 8px 20px #0000003d}.thread-output-frame:has(.thread-asset-image-shell-error) .thread-asset-toolbar{display:none}.thread-asset.single{padding:0;overflow:hidden;background:transparent}.thread-asset.thread-output-frame{display:inline-block;width:fit-content;max-width:100%;overflow:hidden;background:transparent;line-height:0;vertical-align:top}.input-assets .thread-asset,.input-assets .thread-asset.single{width:80px;min-width:80px;height:80px;border-radius:12px;overflow:hidden;background:transparent}.thread-asset img{width:100%;height:auto;border-radius:14px;background:#ebe7df}.thread-asset.single img{border-radius:18px}.input-assets .thread-asset img,.input-assets .thread-asset.single img{width:80px;height:80px;aspect-ratio:auto;border-radius:12px}.thread-asset span{font-size:13px;color:var(--muted)}.thread-asset-image-shell.ant-image-error,.thread-asset-image-shell .ant-image-error,.thread-gallery-thumb-image-shell.ant-image-error,.thread-gallery-thumb-image-shell .ant-image-error,.image-preview-image-shell.ant-image-error,.image-preview-image-shell .ant-image-error{background:#fff1f2}.thread-output-frame .thread-asset-image-shell.ant-image-error,.thread-output-frame .thread-asset-image-shell .ant-image-error{display:flex;align-items:center;justify-content:center;width:160px;height:160px;min-height:0;border-radius:18px}.thread-output-frame .thread-asset-image-shell.ant-image-error .ant-image-img,.thread-output-frame .thread-asset-image-shell .ant-image-error img,.thread-asset-image-shell .ant-image-img-placeholder,.thread-gallery-thumb-image-shell .ant-image-img-placeholder,.image-preview-image-shell .ant-image-img-placeholder{display:none}.thread-asset-image-shell,.thread-asset-image-shell .ant-image,.thread-asset-image{display:block;width:100%}.thread-media-frame .thread-asset-image-shell,.thread-media-frame .thread-asset-image-shell .ant-image,.thread-media-frame .thread-asset-image,.thread-media-frame .thread-asset-image-shell .ant-image-img,.thread-media-frame .thread-asset-image-placeholder,.thread-media-frame .thread-asset-image-skeleton.ant-skeleton.ant-skeleton-element,.thread-media-frame .thread-asset-image-skeleton .ant-skeleton-image{width:100%;height:100%}.thread-media-frame .thread-asset-image-shell .ant-image-error{display:flex;align-items:center;justify-content:center;width:100%;height:100%;border-radius:inherit}.thread-media-frame .thread-asset-image-shell .ant-image-error img{width:64px;height:64px}.thread-asset-image{height:auto;border-radius:14px;background:#ebe7df}.thread-media-frame .thread-asset-image{height:100%}.thread-asset.single .thread-asset-image{border-radius:18px}.thread-media-frame .thread-asset-image-shell .ant-image{border-radius:inherit;overflow:hidden}.thread-media-frame .thread-asset-image-shell .ant-image-img{object-fit:contain;object-position:center}.thread-output-frame .thread-asset-image-shell,.thread-output-frame .thread-asset-image-shell .ant-image{display:inline-block;width:fit-content;max-width:100%;border-radius:inherit;overflow:hidden;line-height:0;vertical-align:top}.thread-output-frame .thread-asset-image,.thread-output-frame .thread-asset-image-shell .ant-image-img{display:block;width:auto;max-width:100%;height:auto;max-height:min(52vh,760px);object-fit:contain;object-position:center}.thread-output-frame .thread-asset-image-shell-error,.thread-output-frame .thread-asset-image-shell-error.ant-image,.thread-output-frame .thread-asset-image-shell-error .ant-image{width:160px;height:160px;display:grid;place-items:center;background:#fff1f2}.thread-output-frame .thread-asset-image-error,.thread-output-frame .thread-asset-image-shell-error>img,.thread-output-frame .thread-asset-image-shell-error .ant-image-img{display:none}.input-assets .thread-asset-image-shell,.input-assets .thread-asset-image-shell .ant-image,.input-assets .thread-asset-image{width:80px;height:80px}.input-assets .thread-asset-image{object-fit:cover;border-radius:12px}.input-assets .thread-asset-image-shell .ant-image-error{display:flex;align-items:center;justify-content:center;width:80px;height:80px;border-radius:12px}.input-assets .thread-asset-image-shell .ant-image-error img{width:36px;height:36px}.thread-gallery-thumb-image-shell,.thread-gallery-thumb-image-shell .ant-image,.thread-gallery-thumb-image,.thread-gallery-thumb-image-shell .ant-image-img{width:100%;height:100%;display:block}.thread-gallery-thumb-image{border-radius:14px}.thread-gallery-thumb-image-shell .ant-image{border-radius:inherit;overflow:hidden;background:#ebe7df}.thread-gallery-thumb-image-shell .ant-image-img{object-fit:cover;object-position:center;border-radius:inherit}.thread-gallery-thumb-image-shell .ant-image-error{display:flex;align-items:center;justify-content:center;width:100%;height:100%;border-radius:inherit}.thread-gallery-thumb-image-shell .ant-image-error img{width:32px;height:32px}.thread-gallery-thumb-image-shell.thread-asset-image-shell-error,.thread-gallery-thumb-image-shell.thread-asset-image-shell-error .ant-image{width:100%;height:100%;display:grid;place-items:center}.thread-gallery-thumb-image-shell .thread-asset-image-error,.thread-gallery-thumb-image-shell.thread-asset-image-shell-error .ant-image-img{width:32px;height:32px;max-width:32px;max-height:32px;object-fit:contain}.thread-asset-image-placeholder,.composer-attachment-image-placeholder,.image-preview-placeholder{width:100%;height:100%;display:grid;place-items:center;background:#ebe7df}.thread-asset-image-skeleton.ant-skeleton.ant-skeleton-element,.composer-attachment-image-skeleton.ant-skeleton.ant-skeleton-element,.image-preview-skeleton.ant-skeleton.ant-skeleton-element{width:100%;height:100%}.thread-asset-image-skeleton .ant-skeleton-image,.composer-attachment-image-skeleton .ant-skeleton-image,.image-preview-skeleton .ant-skeleton-image{width:100%;height:100%;border-radius:inherit}.thread-empty{padding:18px;border-radius:18px;background:#f8f7f4f5;color:var(--muted)}@keyframes generationWashPrimary{0%,to{transform:translateZ(0) scale(1)}50%{transform:translate3d(10%,6%,0) scale(1.08)}}@keyframes generationWashSecondary{0%,to{transform:translateZ(0) scale(1)}50%{transform:translate3d(-10%,-10%,0) scale(1.12)}}@keyframes generationSkeletonShimmer{0%{transform:translate3d(-36%,0,0)}55%,to{transform:translate3d(36%,0,0)}}@keyframes generationSkeletonPulse{0%,to{opacity:.72;transform:scale(.995)}50%{opacity:1;transform:scale(1)}}@keyframes generationStatusDotPulse{0%,to{opacity:.75;transform:scale(.92);box-shadow:0 0 #c87a3d1a}50%{opacity:1;transform:scale(1);box-shadow:0 0 0 7px #c87a3d2e}}@keyframes generationStatusCopyFade{0%{opacity:0;transform:translateY(3px)}to{opacity:1;transform:translateY(0)}}@keyframes generationPlaceholderBreath{0%{background-color:#f9fafb}48%{background-color:#e5e7eb}52%{background-color:#e5e7eb}to{background-color:#f9fafb}}@keyframes generationNoiseDrift{0%{transform:translateZ(0)}50%{transform:translate3d(-4%,3%,0)}to{transform:translateZ(0)}}@keyframes textResponseFade{0%{opacity:0;transform:translateY(4px)}to{opacity:1;transform:translateY(0)}}@keyframes textThinkingDotScale{0%,to{opacity:.58;transform:scale(.72);box-shadow:0 0 #2f6f6c24}50%{opacity:1;transform:scale(1.28);box-shadow:0 0 0 8px #2f6f6c14}}.composer-stage{padding:0 24px 24px}.composer-stage.empty{width:100%;padding:0}.composer-stage.with-thread{position:relative;padding:0 24px 24px}.composer-scroll-control{position:absolute;top:-50px;left:50%;z-index:6;pointer-events:none;transform:translate(-50%)}.prompt-shell{position:relative;width:min(812px,calc(100vw - 360px));margin:0 auto;padding:10px 14px 14px;border-radius:12px;background:#fff;border:1px solid rgba(0,0,0,.06);box-shadow:0 10px 28px #14110c0d}.composer-attachments{display:flex;flex-wrap:wrap;gap:10px;padding-bottom:12px}.composer-attachment{position:relative;width:88px;height:88px;overflow:hidden;border-radius:18px;background:#f6f6f6;border:1px solid rgba(0,0,0,.06)}.composer-attachment-image{width:100%;height:100%;display:block;object-fit:cover}.composer-attachment-image-shell,.composer-attachment-image-shell .ant-image{width:100%;height:100%;display:block}.composer-attachment-image{border-radius:18px}.composer-attachment-remove{position:absolute;top:6px;right:6px;width:24px;height:24px;display:inline-flex;align-items:center;justify-content:center;border:none;border-radius:999px;background:#111111b8;color:#fff;cursor:pointer;font-size:12px;line-height:1}.composer-attachment-remove .anticon{font-size:12px}.composer-attachment-remove:disabled{opacity:.58;cursor:not-allowed}.prompt-bar{display:block;padding:0;border:none;background:transparent}.composer-footer{display:flex;align-items:center;gap:12px;min-height:44px;padding-top:10px;margin-bottom:-10px}.composer-tools{display:inline-flex;align-items:center;gap:8px}.composer-option-panel{display:contents}.model-item{margin:0!important;min-width:0}.ratio-item,.output-count-item{margin:0!important;flex:none}.model-select,.ratio-select,.output-count-select{width:auto!important;height:40px!important}.model-select .ant-select-selector,.ratio-select .ant-select-selector,.output-count-select .ant-select-selector{padding:0 14px!important;border-radius:14px!important;background:#fff!important;box-shadow:none!important}.model-select.ant-select-single.ant-select-sm .ant-select-selector,.ratio-select.ant-select-single.ant-select-sm .ant-select-selector,.output-count-select.ant-select-single.ant-select-sm .ant-select-selector{display:flex;align-items:center}.model-select .ant-select-selection-item,.model-select .ant-select-selection-placeholder,.ratio-select .ant-select-selection-item,.ratio-select .ant-select-selection-placeholder,.output-count-select .ant-select-selection-item,.output-count-select .ant-select-selection-placeholder{line-height:38px!important;color:var(--text)}.model-static-chip{display:inline-flex;align-items:center;min-height:40px;padding:0 14px;border-radius:14px;background:#fff;border:1px solid rgba(0,0,0,.06);color:var(--muted);font-size:12px}.prompt-item{flex:1;margin:0!important}.prompt-input.ant-mentions{display:block;background:transparent!important;box-shadow:none!important}.prompt-input.ant-mentions,.prompt-input.ant-mentions-focused{border:none!important}.prompt-input.ant-mentions .ant-mentions-measure,.prompt-input.ant-mentions textarea{padding:8px 0 14px!important;resize:none;font-size:16px;line-height:1.55;color:var(--text);background:transparent!important}.prompt-input.ant-mentions textarea::placeholder{color:#9a958d}.composer-intent-row{width:min(760px,calc(100vw - 360px));display:flex;align-items:center;justify-content:center;gap:8px;min-height:34px;margin:18px auto 0}.composer-create-image-tag{min-height:30px;display:inline-flex;align-items:center;gap:7px;padding:0 12px;border:1px solid rgba(0,0,0,.08);border-radius:999px;background:#f8f7f4eb;color:var(--muted);font-size:13px;font-weight:600;cursor:pointer;transition:background .18s ease,border-color .18s ease,color .18s ease,transform .18s ease}.composer-create-image-tag:hover:not(:disabled),.composer-create-image-tag.active{background:#1f1d1b;border-color:#1f1d1b;color:#fff}.composer-create-image-tag:hover:not(:disabled){transform:translateY(-1px)}.composer-create-image-tag:disabled{opacity:.55;cursor:not-allowed}.composer-create-image-icon{width:17px;height:17px}.prompt-icon{width:40px;height:40px;display:inline-flex;align-items:center;justify-content:center;border:none;border-radius:14px;background:transparent;color:var(--text);cursor:pointer}.prompt-icon:disabled{opacity:.55;cursor:not-allowed}.prompt-icon-solid{background:#fff;border:1px solid rgba(0,0,0,.06)}.composer-more-button{display:none}.prompt-polish-button{background:linear-gradient(135deg,#8b5cf629,#d946ef33);border:1px solid rgba(139,92,246,.22);color:#7c3aed;box-shadow:0 10px 22px #8b5cf624;transition:transform .2s ease,box-shadow .2s ease,opacity .2s ease}.prompt-polish-button:hover:not(:disabled){transform:translateY(-1px);box-shadow:0 14px 28px #8b5cf633}.prompt-polish-button:disabled{opacity:.55;cursor:not-allowed;box-shadow:none}.prompt-polish-button.is-loading{animation:prompt-polish-pulse 1.2s ease-in-out infinite}.prompt-polish-svg{width:22px;height:22px}.prompt-svg,.voice-svg{width:25px;height:25px}.voice-submit{width:40px;height:40px;display:inline-flex;align-items:center;justify-content:center;border:none;border-radius:999px;background:#111;color:#fff;cursor:pointer;transition:background .2s ease,opacity .2s ease;flex:none}.voice-submit-loading{width:40px;height:40px;display:inline-flex;align-items:center;justify-content:center;color:#111;cursor:progress;flex:none}.voice-submit:disabled{background:#d3d6dc;color:#8b9098;opacity:1;cursor:not-allowed;box-shadow:none}.voice-loading-icon{font-size:22px;animation:voice-submit-spin .9s linear infinite}@keyframes prompt-polish-pulse{0%,to{transform:scale(1)}50%{transform:scale(1.06)}}@keyframes voice-submit-spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}@media(max-width:1100px){.auth-shell{grid-template-columns:1fr;gap:20px;padding:24px}.auth-shell:not(.auth-shell-compact) .auth-showcase{min-height:auto}.auth-showcase,.auth-card{width:min(720px,calc(100vw - 48px))}.auth-shell-compact,.auth-shell-recovery{grid-template-columns:1fr}.auth-card-recovery{width:min(720px,calc(100vw - 48px))}.chat-shell{grid-template-columns:1fr;--mobile-header-height: calc(56px + env(safe-area-inset-top, 0px)) }.chat-sidebar{position:fixed;top:0;left:0;z-index:40;width:min(82vw,320px);height:100dvh;display:flex;transform:translate(-104%);transition:transform .22s ease}.chat-shell.mobile-sidebar-open .chat-sidebar{transform:translate(0)}.mobile-sidebar-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:35;display:block;border:0;padding:0;background:#14110c3d;opacity:0;pointer-events:none;transition:opacity .18s ease}.chat-shell.mobile-sidebar-open .mobile-sidebar-backdrop{opacity:1;pointer-events:auto}.mobile-chat-header{position:fixed;top:0;left:0;right:0;z-index:30;height:var(--mobile-header-height);display:grid;grid-template-columns:48px minmax(0,1fr) 48px;align-items:center;padding:env(safe-area-inset-top,0px) 10px 0;background:#fffffff0;border-bottom:1px solid rgba(27,26,24,.08);-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px)}.mobile-header-button{height:40px;display:inline-flex;align-items:center;justify-content:center;border:none;border-radius:12px;background:transparent;color:var(--text);cursor:pointer}.mobile-header-button:hover{background:#1b1a180f}.mobile-header-icon{width:22px;height:22px}.mobile-chat-title{min-width:0;overflow:hidden;text-align:center;text-overflow:ellipsis;white-space:nowrap;color:var(--text);font-size:15px;font-weight:700}.chat-main{padding-top:var(--mobile-header-height)}.sidebar-resizer{display:none}.conversation-thread{width:100%;margin-left:0;margin-right:0}.prompt-shell,.composer-intent-row,.conversation-stage.empty{width:min(812px,calc(100vw - 40px))}}@media(max-width:720px){.auth-shell{padding:16px}.auth-showcase,.auth-card{width:min(100%,calc(100vw - 32px))}.auth-showcase{padding:28px 22px}.auth-card .ant-card-body{padding:22px 20px 20px}.auth-panel-header{align-items:flex-start;flex-direction:column}.auth-mode-switch{width:100%}.auth-mode-link{min-width:0}.auth-showcase-title.ant-typography{font-size:24px}.auth-recovery-password-row,.auth-recovery-result-meta,.auth-register-row,.auth-code-row{grid-template-columns:1fr}.auth-code-action-spacer{display:none}.chat-header{padding:12px 14px 0}.title-trigger{font-size:22px}.conversation-stage{max-width:100%;padding:16px}.conversation-thread{width:100%;max-width:100%;margin-left:0;margin-right:0;padding-left:0;padding-right:0}.thread-gallery{grid-template-columns:1fr;width:100%}.thread-gallery-thumbs-shell{width:100%;max-height:none;grid-template-columns:28px minmax(0,1fr) 28px;grid-template-rows:1fr;align-items:center}.thread-gallery-thumbs{display:flex;gap:10px;overflow-x:auto;overflow-y:hidden;padding:2px 0;scroll-snap-type:x proximity}.thread-gallery-nav{width:28px;height:72px}.thread-gallery-nav-icon.up,.thread-gallery-nav-icon.down{transform:rotate(-90deg)}.thread-gallery-thumb{flex:0 0 72px;width:72px;aspect-ratio:1 / 1;height:auto;scroll-snap-align:center}.prompt-shell,.composer-intent-row,.conversation-stage.empty{width:100%;max-width:calc(100vw - 24px)}.message-row{gap:0}.message-card{flex-basis:calc(90% - 44px);max-width:100%}.message-card.assistant{width:100%}.message-shell{flex-basis:100%;max-width:100%}.thread-assets{grid-template-columns:1fr}.plus-badge{display:none}.composer-stage{width:100%;padding:0 12px 12px}.composer-footer{position:relative;gap:10px;align-items:center}.composer-option-panel{position:absolute;left:0;right:0;max-width:100%;bottom:calc(100% + 10px);display:grid;grid-template-columns:minmax(0,1fr) minmax(0,92px) minmax(0,84px);gap:8px;padding:10px;border:1px solid rgba(0,0,0,.06);border-radius:18px;background:#fffffff5;box-shadow:0 14px 30px #14110c1f;opacity:0;pointer-events:none;transform:translateY(8px);transition:opacity .18s ease,transform .18s ease;z-index:8}.composer-option-panel.open{opacity:1;pointer-events:auto;transform:translateY(0)}.composer-more-button{display:inline-flex;flex:none}.composer-more-button.active{background:#1f1d1b;color:#fff}.model-item{width:100%}.ratio-item,.output-count-item{min-width:0}.prompt-shell{padding:10px 12px 12px}.model-select .ant-select-selector,.ratio-select .ant-select-selector,.output-count-select .ant-select-selector,.model-static-chip{width:100%}}.image-preview-modal .ant-modal-content{background:transparent;box-shadow:none;padding:0}.image-preview-modal .ant-modal-close{top:12px;right:12px;width:44px;height:44px;background:#0000004d;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);border-radius:12px;color:#ffffffe6}.image-preview-modal .ant-modal-close:hover{background:#00000080}.image-preview-img{max-width:90vw;max-height:90vh;display:block;border-radius:12px}.image-preview-image-shell,.image-preview-image-shell .ant-image{display:block;max-width:90vw;max-height:90vh}.image-preview-img{width:auto;height:auto}.image-preview-placeholder{min-width:min(90vw,480px);min-height:min(70vh,320px);border-radius:12px}.image-preview-skeleton .ant-skeleton-image{border-radius:12px}.text-response.streaming .markdown-response>:last-child:after,.text-response.streaming .markdown-response>:last-child>:last-child:after,.text-response.streaming .markdown-response>:last-child>:last-child>:last-child:after{content:"";display:inline-block;width:2px;height:1.1em;margin-left:1px;vertical-align:text-bottom;border-radius:1px;background:#2f6f6c;animation:streamingCursorBlink 1s steps(2,start) infinite}.text-response.streaming .markdown-response>:last-child:has(>:last-child):after{content:none}.text-response.streaming .markdown-response>:last-child>:last-child:has(>:last-child):after{content:none}.text-response.streaming-ending .markdown-response>:last-child:after,.text-response.streaming-ending .markdown-response>:last-child>:last-child:after,.text-response.streaming-ending .markdown-response>:last-child>:last-child>:last-child:after{content:"";display:inline-block;width:2px;height:1.1em;margin-left:1px;vertical-align:text-bottom;border-radius:1px;background:#2f6f6c;animation:streamingCursorFadeOut .4s ease both}.text-response.streaming-ending .markdown-response>:last-child:has(>:last-child):after{content:none}.text-response.streaming-ending .markdown-response>:last-child>:last-child:has(>:last-child):after{content:none}.thread-turn:last-child>.message-row.user{animation:turnEntrance .3s ease both}.thread-turn:last-child>.message-row.assistant{animation:turnEntrance .3s .08s ease both}@keyframes streamingTextEnter{0%{opacity:0}to{opacity:1}}@keyframes streamingCursorBlink{0%,to{opacity:1}50%{opacity:0}}@keyframes streamingCursorFadeOut{0%{opacity:1}to{opacity:0}}@keyframes turnEntrance{0%{opacity:0;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}@media(prefers-reduced-motion:reduce){.text-response.streaming .markdown-response>:last-child:after,.text-response.streaming .markdown-response>:last-child>:last-child:after,.text-response.streaming .markdown-response>:last-child>:last-child>:last-child:after,.text-response.streaming-ending .markdown-response>:last-child:after,.text-response.streaming-ending .markdown-response>:last-child>:last-child:after,.text-response.streaming-ending .markdown-response>:last-child>:last-child>:last-child:after{animation:none;opacity:1}.thread-turn:last-child>.message-row.user,.thread-turn:last-child>.message-row.assistant{animation:none}}
