.notification-root{position:fixed;top:14px;right:16px;z-index:120;width:auto;max-width:calc(100vw - 24px);display:grid;justify-items:end;gap:10px;pointer-events:none}.notification-toast{border:1px solid rgba(58,48,37,.16);border-radius:14px;background:#fffcf6f2;box-shadow:0 10px 28px #231e1629;display:grid;grid-template-columns:1fr auto;align-items:center;gap:10px;padding:10px 10px 10px 12px;width:fit-content;max-width:min(360px,calc(100vw - 24px));transform:translate(26px);animation:notification-in .24s ease forwards;pointer-events:auto}.notification-toast p{margin:0;color:#33403a;font-size:13px;line-height:1.45;font-weight:700;text-align:left;word-break:break-word}.notification-toast.level-success{border-color:#28624b47}.notification-toast.level-warning{border-color:#c27e2852}.notification-toast.level-error{border-color:#b33b3259}.notification-close{width:24px;height:24px;border:0;border-radius:50%;background:#3b453f17;color:#49544e;display:grid;place-items:center;cursor:pointer}.notification-close svg{width:14px;height:14px;display:block}.notification-toast.is-leaving{animation:notification-out .28s ease forwards}@keyframes notification-in{0%{opacity:0;transform:translate(30px)}to{opacity:1;transform:translate(0)}}@keyframes notification-out{0%{opacity:1;transform:translate(0)}to{opacity:0;transform:translate(28px)}}@media (max-width: 760px){.notification-root{top:10px;right:10px;max-width:calc(100vw - 18px);gap:8px}.notification-toast{max-width:min(340px,calc(100vw - 18px))}}:root{color-scheme:light;--bg: #f3efe6;--surface: rgba(255, 252, 245, .88);--surface-strong: #fffdf8;--surface-muted: #f7f0e4;--line: rgba(58, 48, 37, .14);--line-strong: rgba(58, 48, 37, .22);--ink: #202621;--muted: #66706a;--soft: #8a928b;--brand: #ce5f3e;--brand-dark: #9e4129;--brand-soft: #ffe6d8;--green: #28624b;--danger: #b33b32;--shadow: 0 28px 90px rgba(56, 46, 31, .15);--shadow-soft: 0 14px 44px rgba(56, 46, 31, .11);--radius-xl: 30px;--shell-gap: 4px;--shell-inner-gap: 6px;--gallery-card-ratio: 3 / 4;--gallery-card-gap: 10px}*{box-sizing:border-box}html{height:100%;min-width:320px;background:var(--bg);overflow:hidden}body{margin:0;height:100%;min-width:320px;overflow:hidden;color:var(--ink);font-family:Manrope,Noto Sans SC,sans-serif;background:radial-gradient(circle at 13% 12%,#ffdbb9e6 0,#ffdbb900 28%),radial-gradient(circle at 86% 18%,#b1d3c6b8 0,#b1d3c600 25%),linear-gradient(135deg,#f9f1e2,#eef3e8 46%,#f7efe3)}body:before{position:fixed;top:0;right:0;bottom:0;left:0;z-index:-1;content:"";pointer-events:none;background-image:linear-gradient(rgba(63,52,39,.035) 1px,transparent 1px),linear-gradient(90deg,rgba(63,52,39,.035) 1px,transparent 1px);background-size:34px 34px;-webkit-mask-image:linear-gradient(to bottom,#000000d9,#0000001f);mask-image:linear-gradient(to bottom,#000000d9,#0000001f)}button,input,textarea{font:inherit}button{-webkit-tap-highlight-color:transparent}#root{height:100%;overflow:hidden}.workspace.workspace-desktop{grid-template-columns:minmax(0,1fr) clamp(320px,29vw,430px)}.workspace{width:min(1680px,calc(100vw - (var(--shell-gap) * 2)));height:calc(100dvh - (var(--shell-gap) * 2));margin:var(--shell-gap) auto;display:grid;grid-template-columns:minmax(0,3fr) minmax(0,1fr);gap:var(--shell-inner-gap);align-items:stretch;overflow:hidden;background:transparent}.chat-panel,.gallery-panel{min-height:0;height:100%;padding:var(--shell-inner-gap);border:1px solid transparent;border-radius:var(--radius-xl);background:transparent;box-shadow:none;-webkit-backdrop-filter:none;backdrop-filter:none;display:flex;flex-direction:column}.chat-panel{overflow:hidden}.chat-titlebar{flex:0 0 auto;display:flex;align-items:flex-end;justify-content:space-between;gap:var(--shell-inner-gap);border:0;border-radius:12px 12px 0 0;background:linear-gradient(180deg,#fffcf5eb,#fff9efb8),transparent;box-shadow:none;padding:10px 12px 9px;margin-bottom:0;margin:calc(var(--shell-inner-gap) * -1) calc(var(--shell-inner-gap) * -1) 2px;border-bottom:1px solid rgba(58,48,37,.12)}.chat-title-main{min-width:0;display:flex;align-items:center;gap:12px}.chat-title-copy{min-width:0;display:flex;flex-direction:column}.chat-title-logo-wrap{position:relative;width:40px;height:40px;flex:0 0 40px;display:grid;place-items:center;border-radius:50%}.chat-title-logo-glow{position:absolute;top:-12px;right:-12px;bottom:-12px;left:-12px;border-radius:999px;background:radial-gradient(circle,#df906c6b,#df906c26 52%,#df906c00 80%);filter:blur(8px);pointer-events:none}.chat-title-logo{position:relative;width:36px;height:36px;object-fit:cover;border-radius:50%;box-shadow:0 0 0 1px #ffffff9e}.chat-title-tag{margin:0;color:#525a55d6;font-size:11px;line-height:1.35;font-weight:600;letter-spacing:.02em;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.chat-title{margin:3px 0 0;color:#2d3832;font-size:clamp(18px,1.45vw,24px);line-height:1.2;letter-spacing:.01em}.chat-title-quote-wrap{flex:0 0 auto;min-width:0;min-height:18px;display:flex;align-items:flex-end;justify-content:flex-end;text-align:right}.chat-title-quote{max-width:min(34vw,360px);color:#505954db;font-size:12px;line-height:1.35;letter-spacing:.03em;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;transition:opacity .34s ease,transform .34s ease}.chat-title-quote.phase-typing,.chat-title-quote.phase-visible{opacity:1;transform:translateY(0)}.chat-title-quote.phase-leaving{opacity:0;transform:translateY(-5px)}.chat-workspace-card{min-height:0;height:100%;flex:1;border:1px solid rgba(58,48,37,.2);border-radius:22px;background:linear-gradient(180deg,#fffefafa,#fffaf2f5),var(--surface-strong);box-shadow:inset 0 1px #ffffffbf;padding:var(--shell-inner-gap);display:grid;grid-template-rows:auto minmax(0,1fr) auto;gap:var(--shell-inner-gap);overflow:hidden}.settings-link,.ghost-btn,.primary-btn{border:1px solid var(--line);border-radius:999px;cursor:pointer;transition:transform .18s ease,border-color .18s ease,background .18s ease,box-shadow .18s ease}.settings-link{flex:0 0 auto;height:42px;padding:0 16px;background:#ffffffa8;color:#46514a;font-size:13px;font-weight:700}.settings-link:hover,.tool-pill:hover,.ghost-btn:hover{border-color:inherit;background:inherit}.chat-stream{border:0;border-radius:14px;background:transparent;min-height:0;padding:8px 8px 4px;overflow:auto;display:flex;flex-direction:column;gap:12px;scrollbar-width:thin}.bubble{width:fit-content;max-width:min(86%,640px);border-radius:20px;padding:13px 14px 11px;display:grid;gap:7px;animation:fade-up .24s ease-out both}.bubble p,.bubble span{margin:0}.bubble p{font-size:14px;line-height:1.55}.bubble span{font-size:11px;opacity:.68}.message-attachment-strip{width:min(100%,520px);display:flex;gap:8px;overflow-x:auto;overflow-y:hidden;padding:2px 0 4px;scrollbar-width:thin;scrollbar-color:rgba(85,95,88,.42) transparent}.message-attachment-strip::-webkit-scrollbar{height:6px}.message-attachment-strip::-webkit-scrollbar-thumb{background:#555f586b;border-radius:999px}.message-attachment{flex:0 0 auto;width:56px;height:56px;border-radius:10px;overflow:hidden;border:1px solid rgba(58,48,37,.14);background:transparent;padding:0;cursor:pointer;display:block}.message-attachment img{width:100%;height:100%;object-fit:cover;display:block}.bubble.user{margin-left:auto;border-bottom-right-radius:8px;border:1px solid rgba(126,170,199,.42);background:#b7d8ef;color:var(--ink);box-shadow:none}.bubble.assistant{border:1px solid rgba(43,66,58,.12);border-bottom-left-radius:8px;background:#ffffff9e}.composer{display:grid;gap:8px;min-width:0;width:100%;overflow-x:hidden;overflow-y:visible}.unified-composer{position:relative;border-top:0;padding-top:14px;min-width:0;overflow:visible}.unified-composer.is-drag-over:after{position:absolute;top:10px;right:0;bottom:0;left:0;content:"";border:1px dashed rgba(206,95,62,.5);border-radius:14px;background:#ffe6d82e;pointer-events:none}.unified-composer:before{position:absolute;top:0;left:50%;width:min(88%,760px);height:1px;content:"";transform:translate(-50%);background:linear-gradient(90deg,#3a302500,#3a30251a 24%,#3a302547,#3a30251a 76%,#3a302500)}.inline-ref-area{display:flex;align-items:center;justify-content:flex-start;min-width:0;width:100%;overflow:hidden}.inline-ref-strip-wrap{position:relative;min-width:0;width:100%;box-sizing:border-box;border:1px solid rgba(58,48,37,.12);border-radius:14px;background:#ffffff80;padding:8px 12px 6px}.inline-ref-strip{width:100%;display:flex;gap:8px;overflow-x:auto;overflow-y:hidden;padding:2px 0 8px;margin-bottom:-4px;scrollbar-width:thin;scrollbar-color:rgba(73,83,77,.45) transparent;cursor:pointer}.inline-ref-strip::-webkit-scrollbar{height:6px}.inline-ref-strip::-webkit-scrollbar-track{background:transparent}.inline-ref-strip::-webkit-scrollbar-thumb{background:#49534d6b;border-radius:999px;border:1px solid rgba(255,255,255,.35)}.inline-ref-strip::-webkit-scrollbar-thumb:hover{background:#49534d8f}.inline-ref{position:relative;flex:0 0 auto;width:56px;height:56px;border:1px solid var(--line-strong);border-radius:12px;overflow:hidden;background:transparent;padding:0;cursor:pointer;box-shadow:none}.inline-ref img{width:100%;height:100%;object-fit:cover;display:block}.inline-ref-remove{position:absolute;top:4px;right:4px;width:18px;height:18px;border:0;border-radius:50%;background:#0c110eb8;color:#fff;cursor:pointer;line-height:1;font-size:12px}.image-preview-mask{position:fixed;top:0;right:0;bottom:0;left:0;z-index:85;background:#121815b3;-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px);display:grid;place-items:center}.image-preview-toolbar{position:fixed;top:20px;right:22px;z-index:90;display:flex;gap:12px}.image-preview-action{width:40px;height:40px;border:1px solid rgba(255,255,255,.28);border-radius:50%;background:#0a0f0d85;color:#fff;display:grid;place-items:center;cursor:pointer}.image-preview-action svg{width:20px;height:20px;display:block}.image-preview-stage{width:min(90vw,1200px);height:min(82vh,860px);display:grid;place-items:center;cursor:grab;touch-action:none}.image-preview-stage.is-dragging{cursor:grabbing}.image-preview-stage img{max-width:min(84vw,1080px);max-height:76vh;object-fit:contain;-webkit-user-select:none;user-select:none;pointer-events:none;will-change:transform}.composer textarea{width:100%;min-height:0;max-height:calc(7.3em + 20px);border:1px solid rgba(58,48,37,.12);border-radius:14px;outline:none;resize:none;overflow-y:hidden;background:#ffffff80;color:#272d28;padding:9px 12px;font-size:clamp(10px,1.1vw,12px);line-height:1.46;letter-spacing:-.01em}.composer textarea:focus{border-color:#ce5f3e59}.composer textarea::placeholder{color:#50483e73}.composer-toolbar{border-top:0;padding-top:4px;display:flex;align-items:center;justify-content:space-between;gap:var(--shell-inner-gap)}.composer-tools{min-width:0;display:flex;align-items:center;gap:var(--shell-inner-gap);flex-wrap:wrap}.hidden-file-input{display:none}.tool-pill{min-height:34px;border:1px solid rgba(58,48,37,.15);border-radius:999px;background:#f7f0e4d6;color:#3e4942;padding:0 10px;cursor:pointer;font-size:12px;font-weight:800;transition:transform .18s ease,border-color .18s ease,background .18s ease,color .18s ease}.tool-pill:disabled{opacity:.45;cursor:not-allowed;box-shadow:none}.tool-pill:hover:not(:disabled),.tool-pill:focus-visible:not(:disabled){border-color:#ce5f3e59}.add-ref-trigger{width:40px;min-width:34px;padding:0;display:inline-grid;place-items:center;font-size:20px;line-height:1}.tool-pill[aria-expanded=true]{border-color:#ce5f3e85;background:var(--brand-soft);color:var(--brand-dark)}.summary-compact{display:inline-flex;align-items:center;gap:4px}.summary-item{display:inline-flex;align-items:center;gap:4px;white-space:nowrap}.summary-icon{width:12px;height:12px;display:inline-flex;color:#5f6a63}.summary-icon svg{width:100%;height:100%;display:block}.summary-count{min-width:14px;justify-content:center}.summary-slot{justify-content:center;width:44px}.summary-ratio,.summary-quality,.summary-count{width:44px}.model-picker-wrap{position:relative}.model-picker-trigger{min-width:132px;max-width:192px;justify-content:space-between;gap:6px;padding:0 10px 0 12px;color:#3e4942;font-size:12px;font-weight:800}.model-picker-trigger-label{min-width:0;flex:1;text-align:left;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:inherit;font-size:inherit;font-weight:inherit}.model-picker-trigger-caret{width:14px;height:14px;color:#5f6a63;display:inline-flex;flex:0 0 auto}.model-picker-trigger-caret svg{width:100%;height:100%;display:block}.tool-popover.model-picker-panel{left:auto;right:0;min-width:100%;width:max-content;max-width:calc(100vw - 24px)}.model-picker-list{display:grid;gap:3px;max-height:156px;overflow-y:auto;overflow-x:hidden}.model-picker-panel .model-picker-item{border-radius:7px;min-height:28px;padding:5px 8px;text-align:left;place-items:start}.model-picker-panel .model-picker-item span{display:block;width:100%;max-width:100%;color:inherit;font-size:12px;font-weight:900;line-height:1.25;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.tool-popover-wrap{position:relative}.tool-popover{position:absolute;left:0;bottom:calc(100% + 12px);z-index:20;width:min(280px,calc(100vw - 44px));border:1px solid rgba(58,48,37,.15);border-radius:20px;background:#fffdf8fa;box-shadow:0 24px 70px #2f261b33;padding:8px;display:grid;gap:5px;animation:pop-up .16s ease-out both}.unified-settings-wrap{position:relative}.unified-settings-panel{width:min(270px,calc(100vw - 16px));border-radius:16px;padding:6px;gap:5px}.settings-group{border:0;border-radius:10px;background:#f5f1eab3;padding:5px;display:grid;gap:3px}.popover-title{padding:1px 2px;color:var(--soft);font-size:11px;font-weight:900;letter-spacing:0;text-transform:none}.tool-popover button{border:1px solid transparent;border-radius:8px;background:transparent;color:#2e3731;padding:5px 6px;text-align:center;cursor:pointer;display:grid;place-items:center;gap:2px}.tool-popover button span{font-size:12px;font-weight:900}.tool-popover button small{color:var(--muted);font-size:11px;line-height:1.2}.tool-popover button:hover,.tool-popover button.active{border-color:#ce5f3e3d;background:#ffe6d894;color:var(--brand-dark)}.option-grid{display:grid;gap:3px}.ratio-grid{grid-template-columns:repeat(5,minmax(0,1fr))}.count-grid,.quality-grid{grid-template-columns:repeat(4,minmax(0,1fr));background:#ece9e3e6;border-radius:9px;padding:2px}.option-grid button{min-height:28px}.count-grid button{text-align:center;place-items:center;border-radius:7px}.count-grid button small{display:none}.quality-grid button{border-radius:7px}.ratio-grid .ratio-item{min-height:30px;border-radius:7px;display:grid;grid-template-rows:auto auto;place-items:center;gap:2px}.ratio-choice-icon{width:14px;height:14px;display:inline-flex;color:currentColor}.ratio-choice-icon svg{width:100%;height:100%;display:block}.ratio-choice-label{font-size:11px;line-height:1}.send-btn{flex:0 0 auto;min-width:122px;height:40px;border:0;border-radius:999px;background:linear-gradient(135deg,var(--brand),var(--brand-dark));color:#fffaf2;cursor:pointer;font-size:14px;font-weight:900;box-shadow:0 10px 20px #ce5f3e33;transition:transform .18s ease,filter .18s ease,opacity .18s ease}.composer-actions{display:inline-flex;align-items:center;gap:8px}.reset-action-btn{width:40px;min-width:34px;height:40px;padding:0;display:inline-grid;place-items:center}.reset-action-btn svg{width:16px;height:16px;display:block}.send-btn:hover:not(:disabled){filter:none}.send-btn:disabled{opacity:.48;cursor:not-allowed;box-shadow:none}.composer-footnote{display:flex;justify-content:space-between;gap:12px;color:var(--soft);font-size:12px;line-height:1.45}.composer-footnote span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.gallery-panel{min-height:0;overflow:hidden}.gallery-workspace-card{min-height:0;display:flex;flex-direction:column}.gallery-list{flex:1;min-height:0;overflow:auto;display:flex;flex-direction:column;align-items:stretch;gap:var(--gallery-card-gap);padding-right:2px;scrollbar-width:thin}.gallery-list>.img-card{flex:0 0 auto}.gallery-list.is-empty{position:relative;overflow:hidden}.gallery-list.is-empty .gallery-placeholder{position:absolute;top:0;right:0;bottom:0;left:0;width:100%;display:grid;place-items:center;margin:0}.img-card{border:1px solid rgba(58,48,37,.12);border-radius:16px;background:#fffdf8b8;box-shadow:none}.gallery-placeholder{width:min(86%,640px);display:grid;place-items:center;padding:16px;text-align:center}.gallery-placeholder p{margin:0;color:#47514bad;font-size:clamp(12px,1.1vw,16px);font-weight:600;line-height:1.45;letter-spacing:.01em;text-shadow:0 1px 10px rgba(255,255,255,.28)}.img-card{overflow:hidden;animation:card-fade .22s ease-out both;display:grid;grid-template-rows:auto minmax(0,1fr);align-content:stretch;height:auto;min-height:0;aspect-ratio:var(--gallery-card-ratio);margin:0;isolation:isolate}.img-card-head{min-height:38px;padding:6px 8px;border-bottom:1px solid rgba(58,48,37,.1);display:flex;align-items:center;justify-content:space-between;gap:8px}.img-card-title{margin:0;color:#4d5650;font-size:12px;font-weight:800;letter-spacing:.02em}.img-card-creating,.img-card-failed{background:#fffdf8b8}.creating-card-body{position:relative;min-height:0;display:grid;place-items:center;overflow:hidden;background:radial-gradient(120% 90% at 8% 10%,rgba(96,190,255,.25),transparent 58%),radial-gradient(120% 90% at 92% 12%,rgba(255,120,214,.24),transparent 60%),radial-gradient(140% 100% at 50% 98%,rgba(255,183,105,.25),transparent 62%),linear-gradient(130deg,#f1ebe2eb,#e9e2d6f2);background-size:135% 135%,130% 130%,145% 145%,100% 100%;animation:aurora-flow 9s ease-in-out infinite alternate}.creating-card-body:before,.creating-card-body:after{position:absolute;top:-35%;right:-35%;bottom:-35%;left:-35%;content:"";pointer-events:none}.creating-card-body:before{background:conic-gradient(from 0deg,#61caff38,#ff8cd233,#ffc97a2e,#61caff38);filter:blur(34px);opacity:.86;animation:aurora-spin 11s linear infinite}.creating-card-body:after{background:radial-gradient(circle,#fff8ee2e,#fff8ee00 68%);transform:scale(.88);animation:aurora-breathe 2.5s ease-in-out infinite}.creating-orb{position:relative;z-index:1;width:176px;height:176px;border-radius:50%;border:1px solid rgba(255,255,255,.86);background:radial-gradient(circle at 46% 32%,#fffffff7,#f7f1e7e6);box-shadow:0 0 0 9px #ffffff38,0 18px 44px #6449353d;display:grid;place-content:center;justify-items:center;gap:8px;font-family:Nunito,Avenir Next,PingFang SC,Microsoft YaHei,sans-serif}.creating-orb:before{position:absolute;top:-9px;right:-9px;bottom:-9px;left:-9px;content:"";border-radius:50%;background:conic-gradient(from 0deg,#5ac9ff94,#fd85d38f,#ffc8788a,#5ac9ff94);filter:blur(10px);opacity:.78;animation:ring-spin 6.2s linear infinite;z-index:-1}.creating-time{margin:0;display:inline-flex;align-items:flex-end;justify-content:center;gap:4px;line-height:1;letter-spacing:-.015em}.creating-time-number{font-size:clamp(38px,6vw,48px);font-weight:600;line-height:.94;background:linear-gradient(128deg,#58c8ff,#8f8cff 38%,#ff86c7 72%,#ffc27f);-webkit-background-clip:text;background-clip:text;color:transparent;text-shadow:0 2px 16px rgba(136,112,202,.22)}.creating-time-unit{font-size:15px;font-weight:500;letter-spacing:.03em;transform:translateY(-3px);background:linear-gradient(120deg,#67beff,#ff9fd3);-webkit-background-clip:text;background-clip:text;color:transparent;opacity:.9}.creating-state-label{margin:0;font-size:13px;font-weight:500;letter-spacing:.11em;line-height:1.15;text-align:center}.img-card-creating .creating-state-label{background:linear-gradient(130deg,#5ab6ff,#b07dff 46%,#ff85c8);-webkit-background-clip:text;background-clip:text;color:transparent;text-shadow:0 2px 12px rgba(156,122,201,.18)}.creating-card-failed-body{background:radial-gradient(circle at 30% 22%,rgba(255,235,233,.76),transparent 52%),linear-gradient(180deg,#f8e4e0cc,#f5dcd6f0)}.creating-card-failed-body .creating-state-label{color:#9b2f27;text-shadow:none}.img-card-tools{display:inline-flex;align-items:center;gap:5px}.img-card-tool-btn{width:36px;height:36px;padding:0;-moz-appearance:none;appearance:none;-webkit-appearance:none;border:1px solid rgba(58,48,37,.14);border-radius:8px;background:#ffffffc7;color:#55615a;display:grid;place-items:center;line-height:0;cursor:pointer}.workspace.workspace-desktop .gallery-panel .img-card-tool-btn{width:30px;height:30px;border-radius:7px}.workspace.workspace-desktop .gallery-panel .img-card-tool-btn svg{width:12px;height:12px}.img-card-tool-btn:hover{border-color:#ce5f3e5c;background:#fff1e8c7;color:#8f3f2a}.img-card-tool-btn.danger:hover{border-color:#b33b3266;background:#fae3e1d6;color:#9b2f27}.img-card-tool-btn:disabled{opacity:.48;cursor:not-allowed}.img-card-tool-btn:disabled:hover{border-color:#3a302524;background:#ffffffc7;color:#55615a}.image-link{display:block;width:100%;height:100%;min-height:0;background:#ede6da}.image-stage{position:relative;width:100%;height:100%;overflow:hidden;background:#ede6da}.image-bg{position:absolute;top:0;right:0;bottom:0;left:0;width:100%;height:100%;object-fit:cover;filter:blur(16px) saturate(1.08);transform:scale(1.1);opacity:.72}.image-stage:after{position:absolute;top:0;right:0;bottom:0;left:0;content:"";background:radial-gradient(circle at center,#fffcf70a,#fffcf742)}.image-fg{position:relative;z-index:1;width:100%;height:100%;object-fit:contain;display:block}.settings-mask{position:fixed;top:0;right:0;bottom:0;left:0;z-index:50;display:grid;place-items:center;padding:18px;background:radial-gradient(circle at 50% 0%,rgba(255,230,216,.34),transparent 32%),#1e262057;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);animation:fade-in .18s ease both}.confirm-mask{position:fixed;top:0;right:0;bottom:0;left:0;z-index:60;display:grid;place-items:center;padding:18px;background:radial-gradient(circle at 50% 0%,rgba(255,214,214,.28),transparent 34%),#151c186b;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);animation:fade-in .16s ease both}.confirm-dialog{width:fit-content;max-width:min(92vw,560px);border:1px solid rgba(82,52,47,.2);border-radius:20px;background:linear-gradient(180deg,#fffdf9fc,#fff8f2fa),#fffdf8;box-shadow:0 30px 100px #1c14124d;padding:16px 16px 14px;display:grid;gap:12px;animation:pop-up .16s ease-out both}.confirm-dialog h2,.confirm-dialog p{margin:0}.confirm-kicker{color:#5b423bdb;font-size:12px;font-weight:900;letter-spacing:.08em;text-transform:uppercase}.confirm-dialog h2{font-size:clamp(15px,1.7vw,18px);line-height:1.2;letter-spacing:-.03em;color:#2a322d}.confirm-note{color:#5e655f;font-size:13px;line-height:1.45}.confirm-actions{display:flex;justify-content:flex-end;gap:8px;padding-top:4px}.entry-notice-settings-dialog{width:min(92vw,620px);gap:12px}.entry-notice-content{display:grid;gap:10px;padding:2px 2px 0}.entry-notice-text{margin:0;font-size:clamp(15px,1.25vw,17px);line-height:1.5;color:#3f4a44;letter-spacing:0}.entry-notice-actions{display:grid;place-items:center;width:100%;padding-top:6px}.entry-notice-confirm-btn{min-width:112px;min-height:38px;border-radius:14px;font-size:14px;font-weight:800;margin:0 auto}.floating-settings{position:fixed;right:calc(10px + env(safe-area-inset-right,0px));bottom:calc(10px + env(safe-area-inset-bottom,0px));z-index:40;width:46px;height:46px;border:1px solid rgba(58,48,37,.18);border-radius:50%;background:#fffdf8e6;color:#3e4942;display:grid;place-items:center;box-shadow:0 10px 24px #382e1f2e;cursor:pointer}.floating-app-settings{bottom:calc(66px + env(safe-area-inset-bottom,0px))}.floating-reset{top:auto;bottom:calc(122px + env(safe-area-inset-bottom,0px))}.floating-settings svg{width:22px;height:22px;display:block}.settings-dialog{position:relative;width:min(334px,92vw);border:1px solid rgba(255,255,255,.52);border-radius:24px;background:linear-gradient(180deg,#fffffff2,#fcf7efeb),#fffdf8;box-shadow:0 30px 100px #1c171247,inset 0 1px #ffffffb8;padding:18px;display:grid;gap:12px}.settings-close-btn{position:absolute;top:10px;right:10px;width:30px;height:30px;border:1px solid rgba(58,48,37,.12);border-radius:10px;background:#fffdf8cc;color:#3e4942c2;display:grid;place-items:center;cursor:pointer;transition:border-color .18s ease,color .18s ease,background .18s ease}.settings-close-btn:hover,.settings-close-btn:focus-visible{border-color:#ce5f3e61;color:var(--brand-dark);background:#fff5ecf2}.settings-close-btn svg{width:14px;height:14px;display:block}.settings-dialog h2,.settings-dialog p{margin:0}.settings-dialog label{display:grid;gap:8px}.settings-input-wrap{position:relative}.settings-dialog label span{color:#36433c;font-size:14px;font-weight:900}.settings-dialog input,.settings-dialog .settings-select,.settings-dialog .settings-model-config-input{width:100%;border:1px solid rgba(63,78,70,.2);border-radius:16px;outline:none;background:#fffcf7eb;color:#273029;font-family:Manrope,Noto Sans SC,sans-serif;font-size:16px;font-weight:400;letter-spacing:0}.settings-dialog input,.settings-dialog .settings-select{height:46px;padding:0 14px}.settings-input-wrap input{padding-right:42px}.settings-dialog .settings-model-config-input{min-height:106px;max-height:106px;padding:10px 14px;line-height:1.4;resize:none;overflow-y:auto}.settings-visibility-toggle{position:absolute;right:8px;top:50%;transform:translateY(-50%);width:30px;height:30px;border:0;border-radius:8px;background:transparent;color:#333d37c7;display:grid;place-items:center;cursor:pointer}.settings-visibility-toggle svg{width:17px;height:17px;display:block}.settings-dialog input:focus,.settings-dialog .settings-select:focus,.settings-dialog .settings-model-config-input:focus{border-color:#4081ee99;box-shadow:0 0 0 4px #4081ee24}.settings-dialog input:disabled,.settings-dialog .settings-select:disabled,.settings-dialog .settings-model-config-input:disabled{opacity:.74;cursor:not-allowed}.settings-login-title{margin:0;color:#2d3832;font-size:22px;line-height:1.2;letter-spacing:-.03em;text-align:center}@supports ((-webkit-background-clip: text) or (background-clip: text)){.settings-login-title{background-image:linear-gradient(120deg,#2d3832,#be5a3b 52%,#2b6650);-webkit-background-clip:text;background-clip:text;color:transparent;-webkit-text-fill-color:transparent}}.settings-title-divider{height:1px;width:100%;background:linear-gradient(90deg,#787e7a00,#787e7a3d 16%,#787e7a4d,#787e7a3d 84%,#787e7a00)}.settings-actions{display:flex;justify-content:flex-end;gap:12px;padding-top:4px}.settings-login-actions{justify-content:stretch}.settings-auth-actions,.settings-split-actions{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);align-items:stretch;gap:12px}.settings-auth-actions .modal-action-btn,.settings-split-actions .modal-action-btn,.login-fetch-btn{width:100%;min-height:42px;border-radius:14px}.modal-action-btn{min-height:38px;padding:0 18px;border-radius:999px;font-size:14px;font-weight:800}.login-submit-btn{width:100%;min-height:42px;border-radius:14px;font-size:16px}.login-submit-btn:disabled{border-color:#3f4e462e;background:#d7d9d5;color:#353a36db;box-shadow:none;cursor:not-allowed}.ghost-btn,.primary-btn,.danger-btn{min-height:44px;padding:0 16px;font-weight:900}.ghost-btn{background:#fffaf2;color:var(--muted)}.primary-btn{border-color:transparent;background:linear-gradient(135deg,var(--brand),var(--brand-dark));color:#fff;box-shadow:0 14px 28px #ce5f3e38}.danger-btn{border-color:transparent;background:linear-gradient(135deg,#c44b3e,#9f3127);color:#fff;box-shadow:0 14px 28px #9f31273d}@keyframes fade-up{0%{opacity:0;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}@keyframes fade-in{0%{opacity:0}to{opacity:1}}@keyframes card-fade{0%{opacity:0}to{opacity:1}}@keyframes pop-up{0%{opacity:0;transform:translateY(6px) scale(.98)}to{opacity:1;transform:translateY(0) scale(1)}}@media (prefers-reduced-motion: reduce){*,*:before,*:after{scroll-behavior:auto!important;animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}}@keyframes aurora-flow{0%{background-position:0% 0%,100% 0%,50% 100%,0% 0%}50%{background-position:12% 18%,84% 14%,50% 90%,0% 0%}to{background-position:8% 10%,92% 12%,52% 96%,0% 0%}}@keyframes aurora-spin{0%{transform:rotate(0) scale(.96)}to{transform:rotate(360deg) scale(1.06)}}@keyframes aurora-breathe{0%,to{opacity:.28;transform:scale(.86)}50%{opacity:.56;transform:scale(1.02)}}@keyframes ring-spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.mobile-gallery-toggle,.mobile-gallery-overlay{display:none}html.layout-mobile,body.layout-mobile,body.layout-mobile #root{width:100%;max-width:100%;min-width:0;height:100%;min-height:var(--app-height, 100svh);overflow:hidden;overflow-x:clip}body.layout-mobile{overscroll-behavior:none}.workspace.workspace-mobile{--mobile-shell-gap: 6px;--mobile-gallery-width: 80vw;--mobile-fab-size: 40px;--mobile-fab-icon-size: 18px;position:relative;display:block;width:100%;max-width:100%;min-width:0;height:var(--app-height, 100svh);min-height:var(--app-height, 100svh);margin:0;padding:var(--mobile-shell-gap);overflow:hidden;overflow-x:clip}.workspace.workspace-mobile .chat-panel{width:100%;max-width:100%;height:100%;min-height:0;padding:0;overflow:hidden;overflow-x:clip}.workspace.workspace-mobile .chat-workspace-card{width:100%;max-width:100%;height:100%;min-height:0;padding:var(--mobile-shell-gap);gap:var(--mobile-shell-gap);overflow:hidden;overflow-x:clip}.workspace.workspace-mobile .chat-stream{min-width:0;min-height:0;overflow-y:auto;overflow-x:hidden;padding:6px 6px 2px;position:relative;z-index:1}.workspace.workspace-mobile .chat-titlebar{display:flex;flex-wrap:nowrap;align-items:flex-end;justify-content:space-between;gap:8px;margin:0 0 2px;padding:10px 10px 8px}.workspace.workspace-mobile .chat-title-main,.workspace.workspace-mobile .chat-title-copy{min-width:0}.workspace.workspace-mobile .chat-title-main{flex:1 1 auto;width:auto}.workspace.workspace-mobile .chat-title-logo-wrap{width:30px;height:30px;flex:0 0 30px}.workspace.workspace-mobile .chat-title-logo{width:26px;height:26px}.workspace.workspace-mobile .chat-title-quote-wrap{min-width:0;width:auto;flex:0 1 clamp(112px,42%,190px);justify-content:flex-end;text-align:right}.workspace.workspace-mobile .chat-title-quote{max-width:100%;white-space:normal;overflow-wrap:anywhere;word-break:break-word;line-height:1.25}.workspace.workspace-mobile .bubble{max-width:92%;min-width:0}.workspace.workspace-mobile .bubble p{overflow-wrap:anywhere;word-break:break-word}.workspace.workspace-mobile .message-attachment-strip,.workspace.workspace-mobile .composer,.workspace.workspace-mobile .composer-toolbar,.workspace.workspace-mobile .composer-tools,.workspace.workspace-mobile .composer-actions,.workspace.workspace-mobile .inline-ref-area,.workspace.workspace-mobile .inline-ref-strip-wrap{max-width:100%;min-width:0}.workspace.workspace-mobile .unified-composer{position:relative;z-index:12;overflow:visible;padding-top:12px}.workspace.workspace-mobile .unified-composer:before{left:0;width:100%;transform:none}.workspace.workspace-mobile .composer textarea{font-size:11px;padding:8px 10px}.workspace.workspace-mobile .composer textarea::placeholder{font-size:11px}.workspace.workspace-mobile .composer-toolbar{display:flex;flex-wrap:wrap;align-items:center;gap:6px;min-width:0;overflow:visible}.workspace.workspace-mobile .composer-tools{flex:1 1 auto;width:auto;min-width:0;max-width:100%;gap:4px;flex-wrap:nowrap;overflow:visible}.workspace.workspace-mobile .composer-tools::-webkit-scrollbar{display:none}.workspace.workspace-mobile .tool-pill{min-height:28px;padding:0 7px;font-size:10px}.workspace.workspace-mobile .add-ref-trigger,.workspace.workspace-mobile .reset-action-btn{width:28px;min-width:28px;height:28px}.workspace.workspace-mobile .add-ref-trigger{font-size:14px}.workspace.workspace-mobile .reset-action-btn svg{width:12px;height:12px}.workspace.workspace-mobile .summary-compact{gap:2px;padding:0 6px}.workspace.workspace-mobile .summary-item{gap:2px;font-size:11px}.workspace.workspace-mobile .summary-icon{width:9px;height:9px}.workspace.workspace-mobile .summary-slot,.workspace.workspace-mobile .summary-ratio,.workspace.workspace-mobile .summary-quality,.workspace.workspace-mobile .summary-count{width:28px}.workspace.workspace-mobile .model-picker-trigger{min-width:100px;max-width:132px;min-height:28px;height:28px;font-size:11px;padding:0 7px}.workspace.workspace-mobile .model-picker-trigger-label{font-size:inherit}.workspace.workspace-mobile .model-picker-trigger-caret{width:12px;height:12px}.workspace.workspace-mobile .model-picker-list{max-height:146px}.workspace.workspace-mobile .model-picker-panel .model-picker-item{min-height:26px;padding:4px 6px}.workspace.workspace-mobile .model-picker-panel .model-picker-item span{font-size:12px;font-weight:900}.workspace.workspace-mobile .tool-popover-wrap{position:relative;isolation:isolate}.workspace.workspace-mobile .tool-popover,.workspace.workspace-mobile .unified-settings-panel{position:absolute;left:0;right:auto;bottom:calc(100% + 8px);transform:none;width:min(270px,calc(100vw - 22px));max-width:calc(100vw - 20px);max-height:min(58vh,460px);overflow:auto;z-index:160}.workspace.workspace-mobile .model-picker-panel{left:auto;right:0;min-width:100%;width:max-content;max-width:calc(100vw - 24px)}@media (max-width: 420px){.workspace.workspace-mobile .tool-popover,.workspace.workspace-mobile .unified-settings-panel{width:min(246px,calc(100vw - 18px));max-height:min(56vh,420px);padding:5px;border-radius:14px;gap:4px}.workspace.workspace-mobile .model-picker-panel{width:max-content;max-width:calc(100vw - 18px)}.workspace.workspace-mobile .settings-group{padding:4px;gap:2px}.workspace.workspace-mobile .popover-title{font-size:10px}.workspace.workspace-mobile .tool-popover button{padding:4px}.workspace.workspace-mobile .tool-popover button span,.workspace.workspace-mobile .model-picker-panel .model-picker-item span{font-size:10px}.workspace.workspace-mobile .ratio-grid .ratio-item{min-height:28px;gap:1px}.workspace.workspace-mobile .ratio-choice-icon{width:12px;height:12px}.workspace.workspace-mobile .ratio-choice-label{font-size:10px}.workspace.workspace-mobile .option-grid button{min-height:26px}}.workspace.workspace-mobile .composer-actions{width:auto;max-width:100%;min-width:0;flex:0 0 auto;gap:5px;margin-left:auto;align-self:center}.workspace.workspace-mobile .send-btn{flex:0 0 auto;width:auto;min-width:58px;height:30px;padding:0 10px;font-size:12px;font-weight:800}.workspace.workspace-mobile .gallery-panel{position:fixed;top:0;right:calc((var(--mobile-gallery-width) * -1) - 16px);width:var(--mobile-gallery-width);max-width:calc(100vw - 14px - env(safe-area-inset-right,0px));height:var(--app-height, 100svh);min-height:var(--app-height, 100svh);z-index:35;padding:var(--mobile-shell-gap);opacity:0;visibility:hidden;pointer-events:none;transition:right .24s ease,opacity .2s ease,visibility 0s linear .24s}.workspace.workspace-mobile .gallery-panel.is-mobile-open{right:0;opacity:1;visibility:visible;pointer-events:auto;transition:right .24s ease,opacity .2s ease}.workspace.workspace-mobile .gallery-workspace-card{height:100%}.workspace.workspace-mobile .gallery-list{display:flex;flex-direction:column;align-items:stretch}.workspace.workspace-mobile .img-card-head{min-height:34px;padding:5px 6px}.workspace.workspace-mobile .img-card-title{font-size:11px}.workspace.workspace-mobile .creating-time-number{font-size:clamp(30px,9vw,38px)}.workspace.workspace-mobile .creating-time-unit{font-size:12px}.workspace.workspace-mobile .creating-state-label{font-size:11px}.workspace.workspace-mobile .img-card-tools{gap:4px}.workspace.workspace-mobile .img-card-tool-btn{width:24px;height:24px;border-radius:7px}.workspace.workspace-mobile .img-card-tool-btn svg{width:11px;height:11px}.workspace.workspace-mobile .mobile-gallery-toggle{position:fixed;top:50%;right:calc(6px + env(safe-area-inset-right,0px));transform:translateY(-50%);z-index:38;display:inline-flex;align-items:center;justify-content:center;width:var(--mobile-fab-size);height:var(--mobile-fab-size);border:1px solid rgba(58,48,37,.16);border-radius:999px;background:#fffdf8eb;color:#3f4a43;box-shadow:0 10px 26px #382e1f29;cursor:pointer;padding:0}.workspace.workspace-mobile .mobile-gallery-toggle-icon{width:var(--mobile-fab-icon-size);height:var(--mobile-fab-icon-size);display:inline-flex;align-items:center;justify-content:center;transform:rotate(180deg);transition:transform .24s ease}.workspace.workspace-mobile .mobile-gallery-toggle-icon-svg{width:100%;height:100%;display:block}.workspace.workspace-mobile .mobile-gallery-toggle.is-open .mobile-gallery-toggle-icon{transform:rotate(0)}.workspace.workspace-mobile .mobile-gallery-overlay{position:fixed;top:0;right:0;bottom:0;left:0;z-index:30;display:block;border:0;background:#141b173d;-webkit-backdrop-filter:blur(1px);backdrop-filter:blur(1px);cursor:pointer}.workspace.workspace-mobile .floating-settings{right:calc(8px + env(safe-area-inset-right,0px));bottom:calc(82px + env(safe-area-inset-bottom,0px));width:var(--mobile-fab-size);height:var(--mobile-fab-size)}.workspace.workspace-mobile .floating-app-settings{bottom:calc(132px + env(safe-area-inset-bottom,0px))}.workspace.workspace-mobile .floating-reset{bottom:calc(182px + env(safe-area-inset-bottom,0px))}.workspace.workspace-mobile .floating-settings svg{width:var(--mobile-fab-icon-size);height:var(--mobile-fab-icon-size)}
