#yuedian-ux42{font-family:inherit;color:#51435f}#yuedian-ux42 [hidden]{display:none!important}
.yd42-network{position:fixed;top:58px;left:50%;transform:translateX(-50%);z-index:1200;width:max-content;max-width:calc(100vw - 24px);box-sizing:border-box;padding:12px 16px;border:1px solid #e8d0aa;border-radius:12px;background:#fff8e8;color:#79552d;font-size:13px;line-height:1.7;box-shadow:0 6px 24px #5d3a1612;pointer-events:none}
.yd42-top{position:fixed;right:20px;bottom:22px;z-index:45;width:44px;height:44px;border:1px solid #ded3eb;border-radius:50%;background:#fff;color:#7657a0;box-shadow:0 5px 16px #49306615;font-size:22px;cursor:pointer;touch-action:manipulation}
#yuedian-ux42 button:focus-visible{outline:3px solid #9d79d5;outline-offset:3px}
.app-shell--atlas dialog[open]{max-height:calc(100dvh - 24px);overscroll-behavior:contain}.app-shell--atlas [class*=_sheetBody_]{overscroll-behavior:contain;scroll-padding-block:12px}
@media(max-width:767px){.yd42-top{right:12px;bottom:calc(82px + env(safe-area-inset-bottom,0px))}.yd42-keyboard [class*=_mobileNavigation_b63z1_],.yd42-keyboard .yd42-top{display:none!important}.yd42-network{top:52px;font-size:12px}}
@media(prefers-reduced-motion:reduce){#yuedian-ux42 *{scroll-behavior:auto!important;animation:none!important;transition:none!important}}
@media(forced-colors:active){.yd42-top,.yd42-network{border-color:CanvasText;background:Canvas;color:CanvasText}#yuedian-ux42 button:focus-visible{outline-color:Highlight}}
body:has(dialog[open]) #yuedian-ux42 .yd42-top,body:has([role=dialog][aria-modal=true]) #yuedian-ux42 .yd42-top{display:none!important}

/* yuedian-studio-207 */
[class*="_composer_19ewe_"]{border:1px solid #e7dfef!important;border-radius:20px!important;background:var(--atlas-surface,#fff)!important;box-shadow:0 6px 24px #4a31560a!important;min-width:0}
[class*="_promptBox_19ewe_"]{min-width:0!important}
#studio-prompt{box-sizing:border-box!important;width:100%!important;min-height:156px!important;max-height:360px!important;font-size:16px!important;line-height:1.8!important;padding:18px!important;resize:vertical!important;overflow-y:auto!important;scroll-margin-block:80px;color:var(--atlas-ink,#352c40)}
@supports(field-sizing:content){#studio-prompt{field-sizing:content}}
#studio-prompt::placeholder{color:#8e819b;line-height:1.7}
#studio-prompt:focus-visible{outline:2px solid #a886cc!important;outline-offset:-3px!important;border-radius:12px}
#studio-prompt[aria-invalid=true]{outline:2px solid #bc4961!important;outline-offset:-3px!important}
[class*="_promptTools_19ewe_"]{flex-wrap:wrap!important;align-items:center!important;gap:8px!important;padding:8px 12px!important}
[class*="_promptTools_19ewe_"] button{min-height:44px!important;padding:8px 10px!important;font-size:13px!important;border-radius:10px!important}
[class*="_promptCount_19ewe_"],.studio47-draft{font-size:12px!important;line-height:1.5;overflow-wrap:anywhere}
[class*="_composerFooter_19ewe_"]{display:flex!important;flex-wrap:wrap!important;gap:12px!important;padding:14px!important;align-items:stretch!important;border-top:1px solid var(--atlas-line,#eee7f3)!important}
#studio-settings{display:flex!important;flex-wrap:wrap!important;gap:8px!important;min-width:0!important;flex:1 1 360px!important}
#studio-settings>div{min-width:0;max-width:100%}
#studio-settings>div>button{min-height:46px!important;max-width:100%;font-size:14px!important;border-radius:12px!important;white-space:normal!important;overflow-wrap:anywhere}
[class*="_inlineSubmit_19ewe_"]{display:flex!important;flex-wrap:wrap!important;align-items:center!important;justify-content:space-between!important;gap:10px!important;flex:1 1 230px!important;min-width:0!important;padding:8px 0!important}
[class*="_inlinePrice_19ewe_"]{font-size:13px!important;line-height:1.6!important;overflow-wrap:anywhere;color:var(--atlas-muted,#7d708b)}
[class*="_inlinePrice_19ewe_"] strong{font-size:20px!important;color:var(--atlas-ink,#48315d);font-variant-numeric:tabular-nums}
[class*="_inlineGenerate_19ewe_"]{min-height:48px!important;padding:12px 22px!important;border-radius:12px!important;font-size:15px!important;line-height:1.5!important;white-space:normal!important;flex:0 1 auto!important}
[class*="_inlineGenerate_19ewe_"]:not(:disabled){background:#7954af!important;color:white!important;box-shadow:0 4px 14px #7853ac20!important}
[class*="_inlineGenerate_19ewe_"]:disabled{opacity:.6!important;cursor:not-allowed!important}
[class*="_attachedReferences_19ewe_"]{gap:10px!important;min-width:0;max-width:100%}
[class*="_referenceGrid_19ewe_"]{gap:10px!important;grid-template-columns:repeat(auto-fill,minmax(90px,1fr))!important}
[class*="_referenceGrid_19ewe_"] button,[class*="_referencePicker_19ewe_"] button{min-height:44px!important;min-width:44px!important}
[class*="_referenceHelp_19ewe_"],[class*="_uploadHint_19ewe_"]{font-size:13px!important;line-height:1.7!important;overflow-wrap:anywhere}
[class*="_notice_19ewe_"],[class*="_error_19ewe_"]{padding:12px 14px!important;border-radius:12px!important;font-size:14px!important;line-height:1.7!important;overflow-wrap:anywhere}
[class*="_recoveryActions_19ewe_"],[class*="_historyActions_19ewe_"],[class*="_completedActions_19ewe_"]{display:flex;flex-wrap:wrap!important;gap:8px!important}
[class*="_recoveryActions_19ewe_"] :is(button,a),[class*="_historyActions_19ewe_"] :is(button,a),[class*="_completedActions_19ewe_"] :is(button,a){min-height:44px!important;min-width:44px!important;padding:8px 12px!important;white-space:normal!important;line-height:1.5}
[class*="_resultPrompt_19ewe_"]{overflow-wrap:anywhere;white-space:pre-wrap;line-height:1.75}
[class*="_queueItem_19ewe_"]{min-width:0;overflow-wrap:anywhere;padding:12px!important;border-radius:12px!important}
.studio161-dialog{width:min(800px,calc(100vw - 32px))!important;max-width:800px!important;height:min(840px,calc(100dvh - 40px))!important;max-height:calc(100dvh - 40px)!important;border-radius:20px!important}
.studio161-dialog .studio161-header{padding:14px 18px!important;align-items:center!important}
.studio161-dialog .studio161-body{padding:16px 18px!important;min-height:0!important;overflow-y:auto!important;scroll-padding-block:16px}
.studio161-dialog .studio161-footer{padding:12px 18px!important;gap:12px!important}
.studio161-dialog .studio161-header button,.studio161-dialog .studio161-footer button{min-height:44px!important}
.studio161-body details{padding:10px 12px!important;margin:10px 0!important;border-radius:12px!important}
.studio161-body summary{min-height:44px!important;line-height:1.6!important;display:list-item;padding:10px 0!important}
.studio161-body :is(select,textarea,input:not([type=checkbox]):not([type=radio]):not([type=range])){font-size:16px!important;min-height:44px!important;max-width:100%!important}
.studio161-body input[type=range]{min-height:36px;max-width:100%}
.studio161-body :is(input[type=checkbox],input[type=radio]){accent-color:#7954af}
.studio161-body label{overflow-wrap:anywhere}
.studio161-body button{min-height:44px;white-space:normal;overflow-wrap:anywhere}
.studio161-body [class*="_advancedGrid_19ewe_"]{gap:12px!important}
.studio161-body :is(.studio48-output,.studio96-local-edit){min-width:0!important}
.studio161-dialog :is(button,summary,input,select,textarea):focus-visible,#studio-settings button:focus-visible,[class*="_inlineGenerate_19ewe_"]:focus-visible{outline:3px solid #ac89d2!important;outline-offset:2px!important}
@media(max-width:600px){
#studio-prompt{min-height:148px!important;max-height:280px!important;padding:14px!important}
[class*="_composerFooter_19ewe_"]{padding:12px!important;gap:8px!important}
#studio-settings{flex-basis:100%!important}
#studio-settings>div{flex:1 1 130px}
#studio-settings>div>button{width:100%!important;justify-content:space-between!important}
[class*="_inlineSubmit_19ewe_"]{flex-basis:100%!important;border-top:1px solid var(--atlas-line,#eae2f2);padding-top:12px!important}
[class*="_inlineGenerate_19ewe_"]{min-width:140px!important}
[class*="_referenceGrid_19ewe_"]{grid-template-columns:repeat(3,minmax(0,1fr))!important}
.studio161-dialog{width:100vw!important;max-width:100vw!important;height:100dvh!important;max-height:100dvh!important;margin:0!important;inset:0!important;border:0!important;border-radius:0!important}
.studio161-dialog .studio161-header{padding:max(10px,env(safe-area-inset-top)) 14px 10px!important}
.studio161-dialog .studio161-body{padding:12px 14px!important}
.studio161-dialog .studio161-footer{padding:10px 14px max(10px,env(safe-area-inset-bottom))!important}
.studio161-footer small{font-size:12px!important;line-height:1.6!important;max-width:58%!important}
.studio161-body [class*="_advancedGrid_19ewe_"]{grid-template-columns:minmax(0,1fr)!important}
}
@media(max-width:359px){[class*="_inlineGenerate_19ewe_"]{width:100%!important}[class*="_inlineSubmit_19ewe_"]{flex-direction:column!important;align-items:stretch!important}}
@media(prefers-reduced-motion:reduce){.studio161-dialog *,[class*="_composer_19ewe_"] *{transition:none!important;animation:none!important}}

/* studio-flow-208 */
.studio-submit-help208{flex:1 0 100%;width:100%;margin:0 0 4px;padding:10px 12px;background:var(--atlas-surface-muted,#f5f0fa);color:var(--atlas-muted,#746180);font-size:13px;line-height:1.65;border-radius:10px;overflow-wrap:anywhere}
[class*="_inlineSubmit_19ewe_"]{flex-wrap:wrap!important}
[class*="_inlineGenerate_19ewe_"][aria-busy=true]{cursor:progress!important}
@media(max-width:600px){.studio-submit-help208{font-size:13px;padding:10px}.studio161-body .mask-options158{min-width:0;max-width:100%}}

/* studio-navigation-209 */
.studio161-dialog .studio-nav209{display:flex;flex:none;gap:8px;overflow:auto;max-height:100px;padding:10px 18px;border-bottom:1px solid var(--atlas-line,#e7dfef);overscroll-behavior:contain;scrollbar-width:thin}
.studio-nav209 button{flex:0 0 auto;min-height:44px;max-width:240px;padding:8px 12px;border:1px solid #d8c8e8;border-radius:10px;background:var(--atlas-surface,#fff);color:var(--atlas-ink,#48315d);font-size:13px;line-height:1.5;white-space:normal;overflow-wrap:anywhere}
.studio-nav209 button:focus-visible{outline:3px solid #9973c1;outline-offset:-3px}
.studio161-body :is(summary,h3,h4):focus{outline:2px solid #9973c1;outline-offset:3px;border-radius:4px}
.studio161-dialog .studio161-header,.studio161-dialog .studio161-footer{flex-shrink:0}
.studio161-body{overscroll-behavior:contain;overflow-x:hidden}
@media(max-width:600px){.studio161-dialog .studio-nav209{padding:8px 14px}.studio161-dialog .studio161-footer{flex-wrap:wrap}.studio161-dialog .studio161-footer small{flex:1 1 160px;max-width:none!important}.studio161-dialog .studio161-footer button{flex:0 0 auto}}
@media(max-height:500px){.studio161-dialog .studio161-header small,.studio161-dialog .studio161-footer small{display:none}.studio161-dialog .studio-nav209{padding-block:4px}.studio161-dialog .studio161-header,.studio161-dialog .studio161-footer{padding-block:6px!important}}

/* studio-models-210 */
.studio-models210{min-width:0}
.studio-model-search210{display:grid!important;gap:8px!important;font-size:13px!important;padding:8px 0!important;background:none!important;border:0!important}
.studio-model-search210 input{box-sizing:border-box;width:100%;min-width:0;min-height:46px;padding:10px 12px;border:1px solid #d8c8e8;border-radius:10px;background:var(--atlas-surface,#fff);color:var(--atlas-ink,#352c40);font-size:16px}
.studio-model-search210 input:focus-visible{outline:2px solid #9973c1;outline-offset:2px}
.studio-model-count210{display:flex;align-items:center;justify-content:space-between;gap:8px;min-height:44px;font-size:12px}
.studio-model-count210 button{min-height:44px;padding:8px 12px;border:0;border-radius:8px;background:#eee7f7;color:#50366b}
.studio-model-empty210{padding:16px 8px;line-height:1.7;font-size:14px}
.studio-models210 [class*="_modelChoices_"]{display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:8px!important}
.studio-models210 [class*="_modelLabel_"]{min-width:0;white-space:normal!important;overflow-wrap:anywhere}
.studio-models210 [class*="_modelChoices_"]>label{min-height:52px!important}
#studio-settings [class*="_options_1ycky_"]{box-sizing:border-box;max-width:calc(100vw - 32px)!important;max-height:min(520px,65dvh)!important;overflow-y:auto!important;overscroll-behavior:contain;padding:14px!important}
#studio-settings [class*="_options_1ycky_"]:has(.studio-models210){width:360px!important}
@media(max-width:600px){#studio-settings [class*="_options_1ycky_"]:has(.studio-models210){left:0!important;right:auto!important;width:min(360px,calc(100vw - 48px))!important}.studio-model-search210{gap:6px!important}}

/* studio-editor-211 */
.studio-prompt211{min-width:0}
.studio-prompt-actions211{display:flex;justify-content:flex-end;padding:6px 12px}
.studio-prompt-actions211 button,.studio-focus211 button{min-height:44px;padding:8px 14px;border:1px solid #d9cbe9;border-radius:10px;background:var(--atlas-surface,#fff);color:var(--atlas-ink,#48315d);font-size:14px;line-height:1.5}
.studio-focus211{box-sizing:border-box;width:min(900px,calc(100vw - 32px));height:calc(100vh - 48px);height:calc(100dvh - 48px);max-width:100%;max-height:100%;padding:0;border:1px solid #ddd0e9;border-radius:18px;background:var(--atlas-surface,#fff);color:var(--atlas-ink,#352c40);overflow:hidden}
.studio-focus211[open]{display:flex;flex-direction:column}
.studio-focus211::backdrop{background:#21162b99}
.studio-focus211 header,.studio-focus211 footer{display:flex;flex:none;align-items:center;justify-content:space-between;gap:12px;padding:12px 18px}
.studio-focus211 header{border-bottom:1px solid #eee7f3}
.studio-focus211 footer{border-top:1px solid #eee7f3;font-size:13px;font-variant-numeric:tabular-nums}
.studio-focus-body211{flex:1;min-height:0;display:flex;padding:12px}
.studio-focus211 #studio-prompt{flex:1;height:100%!important;min-height:0!important;max-height:none!important;resize:none!important;border:0;line-height:1.8!important;overscroll-behavior:contain}
.studio-focus211 :is(button,textarea):focus-visible,.studio-prompt-actions211 button:focus-visible{outline:2px solid #9973c1;outline-offset:2px}
@media(max-width:600px){.studio-focus211{width:100vw;height:100vh;height:100dvh;max-height:100dvh;max-width:100vw;margin:0;inset:0;border:0;border-radius:0}.studio-focus211 header{padding: max(10px,env(safe-area-inset-top)) 14px 10px}.studio-focus211 footer{padding:10px 14px max(10px,env(safe-area-inset-bottom))}.studio-focus-body211{padding:4px}.studio-focus211 #studio-prompt{font-size:16px!important}}

/* studio-preview-213 */
dialog.yd58-preview-dialog.studio-preview213{box-sizing:border-box;width:min(1000px,calc(100vw - 24px))!important;height:calc(100vh - 32px);height:calc(100dvh - 32px)!important;max-height:100dvh!important;max-width:100vw!important;padding:0!important;border:1px solid #d8c9e7;border-radius:16px;overflow:hidden!important;background:var(--atlas-surface,#fff);color:var(--atlas-ink,#352c40)}
dialog.studio-preview213[open]{display:flex!important;flex-direction:column!important}
.studio-preview213 header,.studio-preview213 footer{position:static!important;display:flex!important;flex:none;align-items:center;justify-content:space-between;gap:12px;padding:10px 14px!important}
.studio-preview213 button{min-width:44px;min-height:44px;padding:8px 12px;border:1px solid #d9cbe9;border-radius:10px;background:var(--atlas-surface,#fff);color:inherit;font-size:14px}
.studio-preview213 button:focus-visible{outline:2px solid #9973c1;outline-offset:2px}
.studio-preview-body213{flex:1;min-height:0;min-width:0;overflow:auto;overscroll-behavior:contain;background:#19171d;display:grid;place-items:center;padding:8px}
.studio-preview213 .studio-preview-body213>img{display:block!important;max-width:100%!important;max-height:100%!important;width:auto!important;height:auto!important;object-fit:contain!important;margin:auto!important;border-radius:0!important}
.studio-preview213 .studio-preview-body213[data-full=true]{display:block}
.studio-preview213 .studio-preview-body213[data-full=true]>img{max-width:none!important;max-height:none!important}
.studio-preview-name213{min-width:0;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;font-size:12px}
.studio-preview213 footer button{flex:none}
.studio-preview-error213{color:#fff;text-align:center;line-height:1.7;padding:20px}
.studio-preview-error213 button{color:#352c40;background:#fff}
@media(max-width:600px){dialog.yd58-preview-dialog.studio-preview213{width:100vw!important;height:100dvh!important;margin:0!important;inset:0!important;border:0;border-radius:0}.studio-preview213 header{padding-top:max(10px,env(safe-area-inset-top))!important}.studio-preview213 footer{padding-bottom:max(10px,env(safe-area-inset-bottom))!important}}

/* studio-mobile-fix-212 */
.studio47.studio48 [class*="_composerFooter_19ewe_"]{display:flex!important;flex-direction:column!important;flex-wrap:nowrap!important;align-items:stretch!important;justify-content:flex-start!important;height:auto!important;min-height:0!important;gap:12px!important;margin:0!important;box-sizing:border-box!important;width:100%!important;max-width:100%!important}
.studio47.studio48 #studio-settings{flex:0 0 auto!important;height:auto!important;min-height:0!important;width:100%!important;max-width:100%!important;align-content:start!important;align-items:stretch!important;grid-auto-rows:auto!important;box-sizing:border-box!important}
.studio47.studio48 [class*="_inlineSubmit_19ewe_"]{position:static!important;flex:0 0 auto!important;width:100%!important;max-width:100%!important;min-width:0!important;min-height:0!important;height:auto!important;margin:0!important;box-sizing:border-box!important;align-items:center!important;flex-direction:row!important;flex-wrap:wrap!important;justify-content:space-between!important}
.studio47.studio48 #studio-settings [class*="_trigger_1ycky_"]>strong{white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;overflow-wrap:normal!important;min-width:0!important;max-width:100%!important}
@media(max-width:700px){
.studio47.studio48 #studio-settings{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important}
.studio47.studio48 #studio-settings:before,.studio47.studio48 #studio-settings:after{display:none!important}
.studio47.studio48 #studio-settings>[class*="_control_"]{grid-column:auto!important;grid-row:auto!important;order:0!important;width:100%!important;min-width:0!important;max-width:100%!important;flex:none!important;position:static!important}
.studio47.studio48 #studio-settings>[class*="_control_"]:first-child{grid-column:1/-1!important}
.studio47.studio48 #studio-settings [class*="_trigger_1ycky_"]{box-sizing:border-box!important;width:100%!important;max-width:100%!important;min-width:0!important;min-height:52px!important;height:auto!important;padding:9px 10px!important;grid-template-columns:minmax(0,1fr) auto!important}
.studio47.studio48 #studio-settings [class*="_trigger_1ycky_"]>strong{font-size:14px!important;line-height:1.4!important}
.studio47.studio48 #studio-settings [class*="_options_1ycky_"]{left:0!important;right:auto!important;width:100%!important;max-width:100%!important;min-width:0!important;box-sizing:border-box!important}
.studio47.studio48 [class*="_inlineGenerate_19ewe_"]{position:static!important;flex:1 1 140px!important;min-width:0!important;max-width:100%!important}
.studio47.studio48 [class*="_inlinePrice_19ewe_"]{flex:0 1 auto!important;min-width:0!important;max-width:100%!important;white-space:normal!important}
}

/* studio-models-217 */
.studio47.studio48 [data-studio-options217]{box-sizing:border-box!important;max-height:min(65vh,560px)!important;overflow-y:auto!important;overscroll-behavior:contain;scroll-padding:12px}
.studio47.studio48 [data-studio-options217] input[type=search]{font-size:16px!important;min-height:44px!important}
.studio47.studio48 [data-studio-options217] button,.studio47.studio48 [data-studio-options217] label{min-height:44px}
.studio47.studio48 [data-studio-options217] strong,.studio47.studio48 [data-studio-options217] small{overflow-wrap:anywhere}
.studio47.studio48 [data-studio-options217] :focus-visible{outline:2px solid #8955bb;outline-offset:2px}
@media(max-width:700px){.studio47.studio48 [data-studio-options217]{max-height:55dvh!important;max-width:calc(100vw - 32px)!important}.studio47.studio48 [data-studio-options217] fieldset{min-width:0;margin:0;padding:8px}.studio47.studio48 [data-studio-options217] [class*=_modelChoices_]{grid-template-columns:minmax(0,1fr)!important}}
