@media (max-width:1023px){.mobile-studio-launcher{background:var(--paper);min-width:0;min-height:0;color:var(--ink);flex-direction:column;flex:1 1 0;display:none;overflow:hidden}.mobile-studio-page{flex-direction:column;flex:1 1 0;min-width:0;min-height:0;display:flex;position:relative;overflow:hidden}.mobile-studio-page-panel{flex-direction:column;flex:1;min-width:0;min-height:0;display:flex;overflow:hidden}.mobile-studio-page-panel[hidden],.mobile-studio-footer[hidden]{display:none}.mobile-studio-footer{flex:none;min-width:0}.mobile-studio-notice{border-top:1px solid var(--line);background:color-mix(in srgb, var(--rose) 6%, var(--panel));min-width:0;max-height:24dvh;color:var(--ink);flex:none;align-items:flex-start;gap:8px;padding:6px 12px;font-size:12px;line-height:1.6;display:flex;overflow-y:auto}.mobile-studio-notice span{overflow-wrap:anywhere;flex:1;align-self:center;min-width:0}.mobile-studio-notice button{width:44px;height:44px;color:var(--muted);background:0 0;border:0;flex:none;place-items:center;display:grid}.mobile-studio-workbar{border-bottom:1px solid var(--line);background:var(--panel);flex:none;justify-content:space-between;align-items:center;gap:8px;min-height:56px;padding:4px 12px;display:flex}.mobile-studio-page-heading{border-bottom:1px solid var(--line);background:var(--panel);text-align:center;flex:0 0 54px;justify-content:center;align-items:center;height:54px;min-height:54px;padding:0 56px;display:flex;position:relative}.mobile-studio-page-heading button{width:44px;height:44px;color:var(--muted);background:0 0;border:0;border-radius:9px;place-items:center;display:grid;position:absolute;right:12px}.mobile-studio-page-heading button:hover,.mobile-studio-page-heading button:focus-visible{background:var(--surface-muted);color:var(--rose)}.mobile-studio-workbar-title{flex:1;align-items:center;gap:8px;min-width:0;display:flex}.mobile-studio-workbar-title>svg{color:var(--accent-text);flex-shrink:0}.mobile-studio-workbar-title>div{gap:2px;min-width:0;display:grid}.mobile-studio-workbar-actions{flex:none;display:flex}.mobile-studio-workbar-actions :is(button,a){width:44px;min-height:48px;color:var(--muted);background:0 0;border:0;border-radius:8px;flex-direction:column;justify-content:center;align-items:center;gap:2px;font-size:10px;display:flex}.mobile-studio-workbar-actions :is(button,a):is(:hover,:focus-visible){background:var(--surface-muted);color:var(--accent-text)}.mobile-studio-workbar b,.mobile-studio-page-heading b{font-size:16px;line-height:1.2}.mobile-studio-workbar small{color:var(--muted);text-overflow:ellipsis;white-space:nowrap;font-size:10px;overflow:hidden}.mobile-studio-mode-selector{flex:none;align-items:center;gap:12px;min-width:0;margin:8px 12px 0;display:flex}.mobile-studio-mode-selector>span:first-child{color:var(--muted);flex-shrink:0;font-size:13px}.mobile-studio-mode-selector .popup-select{flex:1;min-width:0}.mobile-studio-mode-selector .popup-select-trigger{background:var(--panel);min-height:44px}.mobile-studio-generate-scroll,.mobile-studio-history-scroll,.mobile-studio-more-scroll{min-height:0;padding:10px 12px calc(16px + env(safe-area-inset-bottom));flex:1;overflow-y:auto}.mobile-studio-generate-scroll{overflow-anchor:none;overscroll-behavior-y:contain;flex-direction:column;padding-bottom:0;display:flex}.mobile-studio-prompt-section,.mobile-studio-preview-section{border:1px solid var(--line);background:var(--panel);border-radius:13px;min-width:0;margin-bottom:10px}.mobile-studio-prompt-section{flex:none;margin:0 12px 10px}.mobile-studio-prompt-section.is-compact{overflow:hidden}.mobile-studio-prompt-section.is-placeholder{visibility:hidden}.mobile-studio-prompt-backdrop{z-index:60;background:#181b1c57;justify-content:center;align-items:flex-end;animation:.18s both mobile-studio-backdrop-in;display:flex;position:fixed;inset:0}.mobile-studio-prompt-dialog{width:100%;height:100%;padding-top:env(safe-area-inset-top);padding-bottom:env(safe-area-inset-bottom);background:var(--panel);border:0;border-radius:0;flex-direction:column;animation:.18s both mobile-studio-prompt-sheet-in;display:flex;overflow:hidden}.mobile-studio-prompt-content{flex:1;min-height:0;padding:10px 12px 0;overflow-y:auto}.mobile-studio-prompt-dialog .mobile-studio-prompt-entry{border-top:1px solid var(--line);flex:none;order:2}.mobile-studio-prompt-entry{width:100%;min-width:0;color:inherit;text-align:left;background:0 0;border:0;gap:8px;padding:8px 12px 10px;display:grid}.mobile-studio-prompt-toggle{width:100%;min-height:44px;color:inherit;text-align:left;background:0 0;border:0;justify-content:space-between;align-items:center;gap:10px;padding:0;display:flex}.mobile-studio-prompt-toggle>span{gap:3px;min-width:0;display:grid}.mobile-studio-prompt-toggle b{font-size:13px}.mobile-studio-prompt-toggle small{color:var(--muted);text-overflow:ellipsis;white-space:nowrap;font-size:11px;overflow:hidden}.mobile-studio-prompt-toggle>svg{color:var(--muted);flex:none;transition:transform .18s}.mobile-studio-prompt-toggle>svg.is-open{transform:rotate(180deg)}.mobile-studio-prompt-toggle:hover,.mobile-studio-prompt-toggle:focus-visible{color:var(--rose)}.mobile-studio-prompt-toggle:focus-visible{outline:2px solid var(--rose);outline-offset:-2px;border-radius:6px}.mobile-studio-section-heading{border-bottom:1px solid var(--line);justify-content:space-between;align-items:center;min-height:42px;padding:0 12px;font-size:13px;display:flex}.mobile-studio-section-heading button{width:32px;height:32px;color:var(--muted);background:0 0;border:0;place-items:center;display:grid}.mobile-studio-prompt-dialog .replica-controls{display:block}.mobile-studio-prompt-dialog .replica-controls-topbar{display:none}.mobile-studio-prompt-dialog .replica-controls-scroll{gap:16px;padding:0;display:flex;overflow:visible}.mobile-studio-prompt-dialog .replica-prompt{min-width:0}.mobile-studio-prompt-dialog .replica-raw-textarea{font-size:16px}.mobile-studio-workspace-switch{border-bottom:1px solid var(--line);flex:none;grid-template-columns:repeat(3,minmax(0,1fr));gap:4px;padding:4px 12px;display:grid}.mobile-studio-workspace-switch button{min-width:0;min-height:44px;color:var(--muted);background:0 0;border:0;border-radius:8px;justify-content:center;align-items:center;gap:6px;font-size:13px;display:inline-flex}.mobile-studio-workspace-switch button[aria-current=page]{background:var(--surface-muted);color:var(--accent-text);font-weight:650}.mobile-studio-empty{color:var(--muted);margin:0;padding:14px;font-size:12px;line-height:1.6}.mobile-studio-preview-section{flex-direction:column;flex:1 0 auto;min-height:280px;display:flex;position:relative;overflow:hidden}.mobile-studio-preview-section.has-source-preview{justify-content:center;align-items:center;padding:48px 8px 8px}.mobile-studio-preview-toolbar{border-bottom:1px solid var(--line);min-height:44px;color:var(--muted);flex:none;justify-content:space-between;align-items:center;gap:8px;padding:0 10px;font-size:11px;display:flex}.mobile-studio-preview-toolbar button{min-height:44px;color:var(--ink);font:inherit;background:0 0;border:0;align-items:center;gap:5px;display:inline-flex}.has-source-preview>.mobile-studio-preview-toolbar{position:absolute;top:0;left:0;right:0}.mobile-studio-source-status{min-width:0;margin-bottom:8px}.mobile-studio-preview-section .replica-media{flex:1 0 auto;height:auto;min-height:0}.mobile-studio-preview-section .replica-media-stage{flex:1 0 auto;height:clamp(200px,38dvh,360px);min-height:200px}.mobile-studio-empty-preview{min-height:150px;color:var(--rose);text-align:center;flex:1;align-content:center;place-items:center;gap:7px;padding:12px;display:grid}.mobile-studio-empty-preview b{color:var(--ink);font-size:17px}.mobile-studio-empty-preview span{color:var(--muted);font-size:11px}.mobile-studio-reference-panel{flex:none;min-width:0;margin:0 0 10px}.mobile-studio-reference-panel .mobile-reference-tools{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.mobile-studio-reference-panel .mobile-reference-tools>button:last-child:nth-of-type(3){grid-column:1/-1}.mobile-studio-generate-scroll>:is(.mobile-studio-preview-section,.mobile-studio-reference-panel){animation:.22s both mobile-studio-content-in}.mobile-studio-generate-scroll.is-inpainting>:is(.mobile-studio-preview-section,.mobile-studio-reference-panel){animation-name:mobile-studio-content-in-left}.mobile-studio-history-scroll{display:block;overflow-y:auto}.mobile-studio-history-toolbar{border-bottom:1px solid var(--line);flex:none;gap:6px;padding:8px 12px;display:grid}.mobile-studio-history-mode{min-width:0;color:var(--muted);justify-content:space-between;align-items:center;gap:10px;font-size:12px;display:flex}.mobile-studio-history-mode .lfn-select{min-width:130px}.mobile-studio-history-error{color:var(--rose);overflow-wrap:anywhere;font-size:12px;line-height:1.6}.mobile-studio-sheet-content>.mobile-reference-tools{margin-bottom:16px}.mobile-studio-sheet-content .mobile-legacy-sheet-section{padding-block:4px 12px}.mobile-studio-sheet-content :is(.nai-model-mode-row,.studio-model-controls){min-width:0}.mobile-studio-history-scroll>[data-replica-history]{background:0 0;height:auto;min-height:100%;display:block;overflow:visible}.mobile-studio-history-scroll>[data-replica-history] .replica-history-list{flex:none;grid-template-columns:repeat(2,minmax(0,1fr));grid-auto-rows:max-content;align-content:start;align-items:start;gap:10px;height:auto;min-height:0;padding:0;display:grid;overflow:visible}.mobile-studio-history-scroll>[data-replica-history]:has(.replica-history-empty){grid-column:1/-1;justify-content:center;align-items:center;min-width:0;min-height:0;display:flex}.mobile-studio-history-scroll>[data-replica-history]:has(.replica-history-empty) .replica-history-empty{width:100%;min-height:300px}.mobile-studio-history-scroll .replica-history-card{background:var(--panel);border-radius:12px;align-self:start;min-width:0;height:auto;min-height:max-content;overflow:hidden}.mobile-studio-history-scroll .replica-history-preview{width:100%}.mobile-studio-history-scroll .replica-history-preview img{aspect-ratio:auto;object-fit:contain;width:100%;height:auto;display:block}.mobile-studio-empty-page{min-height:300px;color:var(--muted);text-align:center;grid-column:1/-1;align-content:center;place-items:center;gap:8px;display:grid}.mobile-studio-empty-page b{color:var(--ink);font-size:16px}.mobile-studio-empty-page span{font-size:11px}.mobile-studio-heading-icon{width:40px;height:40px;color:var(--muted);place-items:center;display:grid;position:absolute;left:12px}.mobile-studio-more-scroll{flex-direction:column;align-content:normal;gap:10px;display:flex}.mobile-studio-more-scroll>*,.mobile-studio-more-scroll>nav{min-width:0}.mobile-studio-more-scroll .nai-menu-label{color:var(--rose);letter-spacing:.14em;margin:10px 4px 0;font-size:10px}.mobile-studio-more-scroll .nai-menu-item{border:1px solid var(--line);background:var(--panel);min-height:50px;color:var(--ink);border-radius:10px;align-items:center;gap:11px;padding:0 12px;font-size:13px;display:flex}.mobile-studio-more-scroll .nai-menu-item:after{color:var(--muted);content:"›";margin-left:auto;font-size:22px}.mobile-studio-more-scroll .nai-menu-sub{border-left:1px solid var(--line);gap:7px;margin:-4px 0 0 12px;padding-left:8px;display:grid}.mobile-studio-sheet-backdrop{z-index:60;background:var(--panel);justify-content:center;animation:.18s both mobile-studio-backdrop-in;display:flex;position:fixed;inset:0}.mobile-studio-sheet-backdrop,.mobile-studio-prompt-backdrop{top:var(--lfn-viewport-top,0px);left:var(--lfn-viewport-left,0px);width:var(--lfn-viewport-width,100%);height:var(--lfn-viewport-height,100dvh);padding-left:env(safe-area-inset-left);padding-right:env(safe-area-inset-right);bottom:auto;right:auto}.mobile-studio-sheet-backdrop .mobile-studio-sheet,.mobile-studio-prompt-backdrop .mobile-studio-prompt-dialog{max-height:100%}.mobile-studio-sheet{width:100%;height:100%;max-height:100dvh;padding-top:env(safe-area-inset-top);background:var(--panel);border:0;border-radius:0;flex-direction:column;animation:.18s both mobile-studio-sheet-in;display:flex}.mobile-studio-sheet-handle{display:none}.mobile-studio-sheet-header{border-bottom:1px solid var(--line);flex:none;align-items:center;gap:8px;min-height:56px;padding:0 8px;display:flex}.mobile-studio-sheet-header b{flex:1;font-size:14px}.mobile-studio-sheet-header button{width:44px;height:44px;color:var(--muted);background:0 0;border:0;border-radius:8px;flex:none;place-items:center;display:grid}.mobile-studio-sheet-content{--replica-control:var(--surface-muted);--replica-input:var(--surface);--replica-text:var(--ink);--replica-muted:var(--muted);--replica-accent:var(--rose);--replica-line:var(--line);overscroll-behavior:contain;min-height:0;padding:10px 12px calc(12px + env(safe-area-inset-bottom));flex:1;overflow-y:auto}.mobile-studio-sheet-content .replica-controls{min-height:0;display:flex}.mobile-studio-sheet-content .replica-controls-topbar{display:none}.mobile-studio-sheet-content .replica-controls-scroll{padding:0;display:flex}.mobile-studio-sheet-content .replica-generation-footer{display:none}.mobile-studio-assistant-content{min-width:0;min-height:100%}.mobile-studio-assistant-content>[data-layout-module=agent]{border:0;min-height:0;margin:0;padding:4px 2px 16px;overflow:visible}.mobile-studio-prompt-backdrop[hidden],.mobile-studio-workspace-content[hidden]{display:none}.mobile-studio-workspace-dialog{--workspace-input:var(--paper);animation:none;container:mobile-workspace/size}.mobile-studio-workspace-dialog>.mobile-studio-sheet-header{min-height:44px}.mobile-studio-sheet-header .mobile-studio-workspace-done{width:auto;min-width:52px;color:var(--accent-text);padding-inline:8px;font-size:13px}.mobile-studio-workspace-dimensions{color:var(--muted);margin-left:8px;font-size:11px;font-weight:400}.mobile-studio-prompt-backdrop:has(.mobile-studio-workspace-dialog){animation:none}.mobile-studio-workspace-content{--replica-control:var(--paper);--replica-input:var(--paper);--replica-text:var(--ink);--replica-muted:var(--muted);--replica-accent:var(--rose);--replica-line:var(--line);overscroll-behavior:contain;overflow-anchor:none;scrollbar-width:thin;scrollbar-color:var(--line) transparent;flex:1;min-width:0;min-height:0;padding:20px 24px 16px;overflow-y:auto}.mobile-studio-workspace-content .replica-controls[data-variant] .replica-controls-scroll,.mobile-studio-workspace-content .mobile-parameter-panel{padding:0}.mobile-studio-workspace-content .mobile-studio-assistant-content{flex-direction:column;display:flex}@media (max-width:359px){.mobile-studio-workspace-content{padding-inline:16px}}.mobile-legacy-sheet-section{gap:14px;min-width:0;display:grid}.mobile-legacy-sheet-heading{border-bottom:1px solid var(--line);color:var(--ink);align-items:center;gap:8px;padding-bottom:10px;font-size:14px;display:flex}.mobile-legacy-sheet-section .settings-scroll{gap:14px;min-height:0;padding:0;display:grid;overflow:visible}.mobile-legacy-sheet-section .nai-model-mode-persistent{display:none}.mobile-prompt-panel{gap:14px;min-width:0;display:grid}.mobile-prompt-panel-actions{border-top:1px solid var(--line);grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;padding-top:4px;display:grid}.mobile-prompt-panel-actions button{border:1px solid var(--line);background:var(--surface);min-height:44px;color:var(--ink);border-radius:7px;justify-content:center;align-items:center;gap:7px;font-size:12px;font-weight:650;display:flex}.mobile-prompt-panel-actions button:hover,.mobile-prompt-panel-actions button:focus-visible{border-color:var(--rose);color:var(--rose)}.mobile-reference-tools{gap:10px;display:grid}.mobile-reference-action{border:1px solid var(--line);background:var(--surface);min-height:50px;color:var(--ink);border-radius:10px;justify-content:center;align-items:center;gap:8px;font-size:13px;font-weight:650;display:flex}.mobile-reference-action.is-primary{border-color:var(--rose);background:var(--rose);color:#fff}.mobile-reference-action:disabled{opacity:.45;cursor:not-allowed}.mobile-studio-reference-panel .mobile-reference-action:disabled{display:none}.mobile-reference-current{border:1px solid var(--line);background:var(--surface-muted);width:100%;color:var(--muted);border-radius:10px;justify-items:center;gap:10px;padding:12px;font-size:11px;display:grid}.mobile-reference-current img{object-fit:contain;background:var(--paper);border-radius:8px;width:min(100%,240px);height:auto;max-height:280px}.mobile-reference-current.is-workspace{background:0 0;border-color:#0000;justify-items:center;gap:8px;width:min(100%,420px);max-height:100%;padding:8px;display:grid}.mobile-reference-current.is-workspace img{width:auto;max-width:100%;max-height:min(40dvh,360px)}.mobile-reference-current.is-workspace .mobile-reference-preview-fallback{width:min(100%,240px)}.mobile-reference-current.is-workspace .mobile-reference-current-caption{width:min(100%,420px)}.mobile-reference-current.is-compact{place-items:center stretch;gap:8px;min-height:44px;padding:4px 8px;display:flex}.mobile-reference-current.is-compact .mobile-reference-current-caption{width:100%}.mobile-reference-current.is-compact .mobile-reference-remove{min-height:40px}.mobile-reference-preview-fallback{border:1px dashed var(--line);background:var(--paper);width:min(100%,240px);min-height:88px;color:var(--muted);border-radius:8px;align-content:center;place-items:center;gap:6px;display:grid}.mobile-reference-current-caption{justify-content:space-between;align-items:center;gap:8px;width:100%;min-width:0;display:flex}.mobile-reference-current-caption>span{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.mobile-reference-remove{border:1px solid var(--line);background:var(--panel);min-width:76px;min-height:44px;color:var(--muted);border-radius:8px;flex:none;justify-content:center;align-items:center;gap:5px;padding:0 10px;font-size:12px;font-weight:650;display:inline-flex}.mobile-reference-remove:hover,.mobile-reference-remove:focus-visible{border-color:var(--rose);color:var(--rose)}@keyframes mobile-studio-backdrop-in{0%{opacity:0}to{opacity:1}}@keyframes mobile-studio-prompt-sheet-in{0%{opacity:0}to{opacity:1}}@keyframes mobile-studio-tool-open{0%{opacity:0;transform:translateY(8px)}to{opacity:1;transform:none}}@keyframes mobile-studio-content-in{0%{opacity:0;transform:translate(10px)}to{opacity:1;transform:none}}@keyframes mobile-studio-content-in-left{0%{opacity:0;transform:translate(-10px)}to{opacity:1;transform:none}}@keyframes mobile-studio-sheet-in{0%{opacity:0}to{opacity:1}}@media (max-width:1023px){main[data-studio-layout]{height:var(--lfn-viewport-height,100dvh);min-height:0}main[data-studio-layout] .layout-editor-entry{display:none}.mobile-studio-mount,.mobile-studio-launcher,.mobile-studio-page,.mobile-studio-generate-scroll,.mobile-studio-history-scroll,.mobile-studio-more-scroll{box-sizing:border-box;inline-size:100%;min-inline-size:0;max-inline-size:100%}.mobile-studio-preview-section{contain:inline-size}.mobile-studio-launcher .replica-media-card{max-inline-size:100%}html[data-theme] main[data-studio-layout] .mobile-studio-launcher .mobile-generation-footer{flex-direction:row;align-items:center;gap:6px;padding:6px 10px;display:flex}html[data-theme] main[data-studio-layout] .mobile-studio-launcher .nai-generation-action{flex:none;width:auto}html[data-theme] main[data-studio-layout] .mobile-studio-launcher .nai-balance-meter{min-width:0;color:var(--muted);background:0 0;border:0;flex-direction:row;flex:1;align-items:center;gap:6px;padding:0;font-size:11px;display:flex}html[data-theme] main[data-studio-layout] .mobile-studio-launcher .nai-balance-meter>span{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.mobile-studio-launcher .nai-balance-meter .nai-balance-track{display:none}.mobile-studio-launcher .replica-media-open img{max-inline-size:100%}.mobile-studio-launcher{display:flex}.mobile-studio-mount{flex-direction:column;flex:1;min-height:0;display:flex;overflow:hidden}.mobile-studio-mount+*{display:none}.studio-canvas>:not(.mobile-studio-mount){display:none!important}.mobile-studio-launcher .replica-generation-footer{flex:none;margin:0;padding-bottom:4px;display:flex}.mobile-studio-launcher .replica-generation-footer>.rgs-shell{display:none}.mobile-studio-launcher .replica-generation-footer{flex-direction:row;align-items:center;gap:8px;padding:6px 10px}.mobile-studio-launcher .replica-generation-meta{flex:1;gap:6px;min-width:0;height:auto;font-size:11px}.mobile-studio-launcher .replica-generation-meta>:nth-child(n+3){display:none}.mobile-studio-launcher .replica-run-button{color:#fff;flex:1;width:auto;min-height:44px;font-size:13px}.mobile-studio-launcher .replica-run-button small{color:#fff;font-size:11px}.mobile-studio-launcher .mobile-generation-footer{max-height:86px;padding:6px 10px calc(4px + env(safe-area-inset-bottom));flex:none;gap:6px;display:flex;overflow:hidden}.mobile-studio-launcher .mobile-generation-footer .nai-ai-settings{display:none}.mobile-studio-launcher .mobile-generation-footer .nai-generation-action{flex:none}.mobile-studio-launcher .mobile-generation-footer .nai-generate-button{min-height:42px}.mobile-studio-launcher .mobile-generation-footer .nai-balance-meter{background:0 0;border:0;flex-direction:row;flex:1;justify-content:space-between;align-items:center;gap:8px;min-width:0;padding:0;font-size:11px;display:flex}.mobile-studio-launcher .mobile-generation-footer .nai-balance-meter>span{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.mobile-studio-launcher .mobile-generation-footer .nai-balance-meter-guest{gap:6px}.mobile-studio-launcher .mobile-generation-footer .nai-balance-guest-status{flex:1}.mobile-studio-launcher .mobile-generation-footer .nai-balance-guest-status small{display:none}.mobile-studio-launcher .mobile-generation-footer .nai-balance-meter-guest .nai-balance-login{min-height:34px;padding:0 9px}.mobile-studio-launcher .mobile-generation-footer .nai-generation-action{min-width:150px}.mobile-studio-launcher .mobile-generation-footer .nai-generation-action .nai-generate-button{height:42px}.mobile-studio-launcher .mobile-generation-footer .nai-generation-action{width:auto}.mobile-studio-launcher .mobile-generation-footer .nai-generate-button{border:1px solid var(--rose);background:var(--rose);color:#fff;border-radius:7px;justify-content:center;align-items:center;gap:8px;min-width:150px;min-height:44px;padding:8px 12px;font-size:12px;font-weight:700;line-height:18px;display:flex}.mobile-studio-launcher .mobile-generation-footer .nai-generate-button>span:first-child{white-space:nowrap;align-items:center;gap:8px;display:inline-flex}.mobile-studio-launcher .mobile-generation-footer .nai-generate-button>span:first-child>svg{display:block}}html:is([data-theme=night],[data-theme=nai]) .mobile-studio-launcher :is(.mobile-studio-mode-tabs button[aria-selected=true],.mobile-studio-bottom-nav button[aria-current=page],.mobile-studio-empty-preview){color:color-mix(in srgb, var(--rose) 65%, var(--ink))}@media (max-width:380px){.mobile-studio-generate-scroll,.mobile-studio-history-scroll,.mobile-studio-more-scroll{padding-inline:9px}.mobile-studio-prompt-section{margin-inline:9px}}@media (max-width:360px){[data-studio-layout]>header{padding-inline:8px}[data-studio-layout]>header>div:first-child{gap:8px}[data-studio-layout]>header>div:first-child>a{white-space:nowrap;gap:8px;font-size:16px}[data-studio-layout]>header>div:last-child{gap:4px}[data-studio-layout]>header>div:last-child>a[href="/profile#profile-wallet"]{white-space:nowrap;gap:4px;padding-inline:8px;font-size:12px}}@media (max-width:1023px) and (max-height:500px) and (min-width:600px){.mobile-studio-page.is-generate>.mobile-studio-page-panel:not([hidden]){grid-template-rows:44px minmax(0,1fr) auto;grid-template-columns:minmax(0,1fr) minmax(240px,.65fr);display:grid}.mobile-studio-workbar{grid-column:1/-1;min-height:44px;padding-block:2px}.mobile-studio-workbar-title{align-items:center;gap:8px;display:flex}.mobile-studio-workbar-title small{max-width:200px}.mobile-studio-mode-selector{grid-area:2/2;align-self:start;margin:8px 12px}.mobile-studio-generate-scroll{grid-area:2/1/4;gap:6px;padding:8px 4px 6px 12px}.mobile-studio-preview-section{flex-basis:110px;min-height:110px;margin:0}.mobile-studio-empty-preview{min-height:100px}.mobile-studio-reference-panel .mobile-reference-tools{grid-template-columns:repeat(2,minmax(0,1fr))}.mobile-studio-reference-panel .mobile-reference-action{min-height:44px}.mobile-studio-reference-panel{margin:0}.mobile-studio-prompt-section{grid-area:3/2;align-self:end;margin-block:4px 8px}.mobile-studio-prompt-entry{padding-block:0}.mobile-studio-prompt-toggle{min-height:44px}.mobile-studio-prompt-toggle>span{gap:3px;display:grid}.mobile-studio-bottom-nav{min-height:48px;padding-block:2px}.mobile-studio-bottom-nav button{flex-direction:row;gap:8px;min-height:44px}}@media (max-width:360px){.mobile-studio-workbar-title>svg{display:none}}html[data-motion=reduced] :is(.mobile-studio-sheet-backdrop,.mobile-studio-sheet,.mobile-studio-prompt-backdrop,.mobile-studio-prompt-dialog,.mobile-studio-generate-scroll>*){transition:none;animation:none}@media (prefers-reduced-motion:reduce){.mobile-studio-sheet-backdrop,.mobile-studio-sheet,.mobile-studio-prompt-backdrop,.mobile-studio-prompt-dialog,.mobile-studio-generate-scroll>:is(.mobile-studio-preview-section,.mobile-studio-reference-panel){transition:none;animation:none}}}.mobile-studio-prompt-backdrop{z-index:1000;overflow:hidden}.mobile-studio-workspace-content.is-prompt{padding-block:4px;container:mobile-prompt-pane/size}.mobile-studio-workspace-content.is-prompt .replica-prompt:not([data-editor-resized]) .replica-prompt-main{flex-direction:column;height:min(580px,100cqh);min-height:0;display:flex}.mobile-studio-workspace-content.is-prompt .replica-prompt-main>.replica-prompt-toolbar{flex:none}.mobile-studio-workspace-content.is-prompt .replica-prompt:not([data-editor-resized]) .replica-prompt-main>:is(.replica-text-editor,.replica-shared-tag-editor){flex:1 1 0;min-height:0;height:auto!important}.mobile-studio-workspace-content.is-prompt .replica-text-editor .prompt-autocomplete-wrap{min-height:0}.mobile-studio-workspace-content.is-prompt .replica-raw-textarea,.mobile-studio-workspace-content.is-prompt .replica-shared-tag-editor{overscroll-behavior-y:contain}.mobile-studio-workspace-content.is-prompt .replica-text-editor :is(.replica-raw-textarea,.replica-syntax-highlight){padding:6px 44px 6px 12px}.mobile-studio-workspace-content.is-prompt .replica-prompt[data-variant=nlw] .replica-prompt-toolbar{gap:2px 6px;margin-bottom:4px}.mobile-studio-workspace-content.is-prompt .replica-prompt[data-variant=nlw] .replica-prompt-tabs button{min-height:44px}.mobile-studio-workspace-content.is-assistant:not([hidden]){min-height:0;padding:0;display:flex;overflow:hidden}.mobile-studio-workspace-content.is-assistant .mobile-studio-assistant-content{flex:1;min-width:0;height:100%;min-height:0;display:flex;overflow:hidden}.mobile-studio-workspace-content.is-assistant .mobile-tag-assistant-panel{border:0;flex:1;height:100%;min-height:0;margin:0;padding:0;display:grid;overflow:hidden}.mobile-studio-launcher .replica-generation-footer .replica-cancel-generation{flex:none;width:auto;min-height:44px;margin:0;padding-inline:10px;font-size:11px}.mobile-studio-launcher .nai-generation-action:has([data-studio-cancel]){flex:1 1 0;min-width:0;max-width:100%}.mobile-studio-launcher .nai-generation-action [data-studio-cancel]{width:100%;min-width:0;max-width:100%;height:auto;min-height:44px;padding:5px 8px;overflow:hidden}.mobile-studio-launcher .nai-generation-action [data-studio-cancel]>span{white-space:normal;overflow-wrap:anywhere;flex-wrap:wrap;gap:2px 4px;min-width:0;max-width:100%;font-size:11px;line-height:1.3}.mobile-studio-launcher .nai-generation-action [data-studio-cancel]>span>span{white-space:normal;min-width:0}.mobile-studio-launcher[data-dialog-open=true]{visibility:hidden}.mobile-studio-sheet-content .mobile-tools-workspace{gap:12px;padding-bottom:16px}.mobile-tools-workspace .mobile-tool-card{border:1px solid var(--line);background:var(--panel);border-radius:16px;min-width:0;padding:15px}.mobile-tools-workspace .mobile-tool-card-heading{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:7px 12px;margin-bottom:13px;display:flex}.mobile-tools-workspace .mobile-tool-card-heading>span{align-items:center;gap:8px;font-size:14px;font-weight:650;display:flex}.mobile-tools-workspace .mobile-tool-card-heading svg,.mobile-tools-workspace .mobile-tool-group-heading>svg{color:var(--accent-text,var(--rose))}.mobile-tools-workspace .mobile-tool-card-heading small{color:var(--muted);font-size:11px;line-height:1.5}.mobile-tools-workspace .mobile-tool-group-heading{align-items:center;gap:8px;padding:6px 4px 0;display:flex}.mobile-tools-workspace .mobile-tool-group-heading h3{margin:0;font-size:13px;font-weight:650}.mobile-tools-workspace .mobile-tool-group-heading>span{color:var(--muted);margin-left:auto;font-size:11px}.mobile-tools-workspace .mobile-tool-references{gap:10px;min-width:0;display:grid}.mobile-tools-workspace .mobile-tool-references .replica-controls{gap:10px}.mobile-tools-workspace .replica-section{border:1px solid var(--line);background:var(--panel);border-radius:16px;margin:0;overflow:hidden}.mobile-tools-workspace .replica-section-heading{padding:0}.mobile-tools-workspace .replica-section-heading>button{gap:10px;min-height:60px;padding:14px 15px;font-size:14px}.mobile-tools-workspace .replica-section-heading>button>span{gap:11px}.mobile-tools-workspace .replica-section-heading>button>span>svg{width:20px;height:20px;color:var(--accent-text,var(--rose))}.mobile-tools-workspace .replica-section.is-open{border-color:color-mix(in srgb, var(--accent-text,var(--rose)) 35%, var(--line))}.mobile-tools-workspace .replica-section.is-open .replica-section-heading{background:color-mix(in srgb, var(--accent-text,var(--rose)) 5%, var(--panel))}.mobile-tools-workspace .replica-section-content{padding:12px 15px 15px}.mobile-tools-workspace .nai-director-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;margin:0;display:grid}.mobile-tools-workspace .nai-director-button{border:1px solid var(--line);background:var(--paper);min-width:0;height:auto;min-height:52px;color:var(--ink);text-align:left;white-space:normal;border-radius:11px;justify-content:flex-start;gap:9px;padding:12px;font-size:12px;line-height:1.4;display:flex}.mobile-tools-workspace .nai-director-button>svg{width:17px;height:17px;color:var(--accent-text,var(--rose));flex:none}.mobile-tools-workspace .nai-director-button.is-active{border-color:var(--accent-text,var(--rose));background:color-mix(in srgb, var(--accent-text,var(--rose)) 10%, var(--panel))}.mobile-tools-workspace button:focus-visible{outline:2px solid var(--accent-text,var(--rose));outline-offset:3px}
