:root{color-scheme:dark;--bg:#090909;--panel:#111112;--line:#242426;--muted:#969499;--orange:#ff751f;--white:#f6f1ed;font-family:Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--white)}button,a,input,textarea{-webkit-tap-highlight-color:transparent}button,input,textarea{font:inherit}button,a{touch-action:manipulation}button{cursor:pointer}button:disabled{cursor:default}a{color:inherit;text-decoration:none}button{color:inherit}button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible{outline:2px solid var(--orange);outline-offset:4px}[hidden]{display:none!important}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.topbar{height:90px;padding:0 38px;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;gap:24px;background:#0b0b0ce8}.brand{display:flex;align-items:center;gap:12px;font-size:17px;letter-spacing:1px;font-weight:800}.brand img{width:37px;height:45px;object-fit:contain}.brand-light{font-weight:400}.topbar nav{display:flex;gap:32px;height:100%;align-items:center;font-size:14px}.topbar nav a,.topbar nav button{height:100%;display:flex;align-items:center;position:relative;color:#99979b;border:0;background:none;padding:0}.topbar nav .active{color:var(--white)}.active:after{content:"";position:absolute;height:2px;background:var(--orange);bottom:0;left:0;right:0;box-shadow:0 0 20px #ff751f77}.account{display:flex;align-items:center;gap:22px}.free-badge{font-size:13px;color:#e5c8b6;display:flex;align-items:center;gap:9px}.free-badge i,.canvas-heading i{width:6px;height:6px;display:inline-block;background:var(--orange);border-radius:50%;box-shadow:0 0 12px #ff751f55}.avatar{border:1px solid #343132;border-radius:50%;width:36px;height:36px;display:grid;place-items:center;color:var(--orange)}.connection-note{padding:11px 24px;text-align:center;background:#25170e;border-bottom:1px solid #51301b;color:#eac6aa;font-size:13px}.app-shell{max-width:1920px;margin:auto;display:grid;grid-template-columns:218px 1fr;min-height:calc(100dvh - 90px)}.sidebar{padding:30px 19px;border-right:1px solid var(--line);display:flex;flex-direction:column}.new-chat{background:#171514;border:1px solid #463021;border-radius:9px;padding:13px 12px;text-align:left;display:flex;gap:13px;align-items:center;font-size:14px}.new-chat span{color:var(--orange);font-size:22px;line-height:1}.section-label{font-size:10px;letter-spacing:1.6px;color:#777278;margin:35px 10px 15px}.threads{display:flex;flex-direction:column;gap:7px}.threads button{background:none;border:0;color:#aaa4a3;text-align:left;padding:11px;border-radius:7px;font-size:13px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.threads button:hover,.threads button.selected{background:#1b1816;color:#f0cab1}.muted-empty{font-size:12px;color:#706b6d;margin:5px 10px}.sidebar-bottom{margin-top:auto;padding:80px 10px 5px}.orb.small{font-size:25px;color:var(--orange)}.sidebar-bottom h3{font-size:15px;font-weight:500;margin:15px 0 10px}.sidebar-bottom p{font-size:12px;color:#858086;line-height:1.8}.sidebar-bottom a{display:inline-block;margin-top:24px;color:#797278;font-size:11px}.main-workspace{min-width:0;padding:35px 40px 30px;background:radial-gradient(ellipse at 65% -15%,#e6702014,transparent 48%)}.workspace-heading{display:flex;justify-content:space-between;align-items:flex-end;margin-bottom:30px;gap:20px}.eyebrow{font-size:10px;letter-spacing:2.8px;color:var(--orange);font-weight:600}h1{font-size:clamp(28px,3vw,40px);letter-spacing:-1.5px;line-height:1.12;font-weight:500;margin:12px 0 0}h1 span{color:#aaa3a0}.steps{display:flex;gap:22px;padding-bottom:4px;white-space:nowrap;font-size:11px;color:#6a6467}.steps .current{color:#f19c66}.studio-grid{display:grid;grid-template-columns:minmax(300px,1fr) minmax(300px,.95fr);gap:28px;align-items:stretch;min-height:560px;height:calc(100dvh - 325px)}.chat-panel{display:flex;flex-direction:column;min-width:0;min-height:0}.welcome{margin:auto 0;padding:24px 0}.assistant-mark{color:var(--orange);font-size:34px;filter:drop-shadow(0 0 14px #ed6a2630)}.welcome h2{font-size:27px;font-weight:500;letter-spacing:-.8px;margin:18px 0 15px}.welcome>p{color:#92898a;font-size:14px;line-height:1.9;margin:0 0 28px}.idea-grid{display:grid;gap:9px}.idea-grid button{display:grid;grid-template-columns:28px 1fr;gap:6px 8px;text-align:left;background:linear-gradient(115deg,#181514,#111111);border:1px solid #2d2522;border-radius:11px;padding:15px 17px;transition:border-color .2s,transform .2s}.idea-grid button:hover{border-color:#875232;transform:translateX(3px)}.idea-grid button>span{color:#e69a68;grid-row:span 2;font-size:24px;align-self:center}.idea-grid strong{font-size:13px;font-weight:500}.idea-grid small{color:#7b7374;font-size:11px}.messages{overflow:auto;max-height:100%;scroll-behavior:smooth;flex:1;min-height:0;scrollbar-width:thin;scrollbar-color:#39302c transparent}.message{display:flex;gap:12px;margin:20px 0;line-height:1.7;font-size:14px;white-space:pre-wrap;overflow-wrap:anywhere}.message .bubble{max-width:95%;padding:4px 0}.message.user{justify-content:flex-end}.message.user .bubble{background:#241c17;border:1px solid #3d2b20;padding:12px 16px;border-radius:16px 16px 3px 16px;color:#f3d9c9}.message.assistant:before{content:"✦";color:var(--orange);padding-top:5px}.message.assistant{color:#c8c0bd}.message.system{font-size:12px;color:#e0a67f}.composer-wrap{margin-top:22px}.composer{border:1px solid #514036;border-radius:14px;background:linear-gradient(120deg,#1b1715,#131212);padding:15px 16px 12px;box-shadow:0 10px 40px #0002}.composer:focus-within{border-color:#bd6d3c}.composer textarea{resize:none;display:block;background:transparent;border:0;width:100%;min-height:48px;max-height:120px;color:#eee5de;font-size:14px;line-height:1.6;outline:none}.composer textarea::placeholder{color:#837976}.composer-actions{display:flex;align-items:center;gap:14px;margin-top:7px}.attach{color:#a4958e;font-size:20px;background:none;border:0;padding:5px 0}.attach span{font-size:11px;margin-left:5px}.composer-tip{font-size:11px;color:#695e59;margin-left:auto}.send{width:35px;height:35px;background:linear-gradient(#ffa14a,#ff6e15);color:#1c0f07;font-size:25px;border:0;border-radius:9px;display:grid;place-items:center;box-shadow:0 0 20px #fd76261a}.send:disabled{opacity:.4}.composer-footnote{text-align:center;font-size:10px;color:#7e7470;margin:12px 0 0}.reference-chip{padding:9px 12px;font-size:12px;background:#231b16;border:1px solid #523420;margin-bottom:9px;border-radius:8px;display:flex;justify-content:space-between;align-items:center;gap:10px}.reference-chip button{border:0;background:none;color:var(--orange);font-size:20px}.canvas{min-width:0;display:flex;flex-direction:column;background:radial-gradient(ellipse at 50% 25%,#25170e44,transparent 60%),#111011;border:1px solid #332821;border-radius:17px;overflow:hidden;position:relative;box-shadow:0 15px 60px #0003}.canvas-heading{display:flex;align-items:center;justify-content:space-between;padding:20px 23px;border-bottom:1px solid #2b2220;font-size:10px;letter-spacing:1.6px;color:#a89990}.canvas-heading span{display:flex;gap:9px;align-items:center}.canvas-heading button{border:0;background:none;color:#9a8980;font-size:21px;padding:0;line-height:1}.empty-canvas{display:flex;flex-direction:column;justify-content:center;align-items:center;flex:1;text-align:center;min-height:300px}.canvas-orbit{width:140px;height:140px;border:1px solid #5e341e44;border-radius:50%;display:grid;place-items:center;position:relative;box-shadow:0 0 70px #ff73110c,inset 0 0 60px #ff6f1308;margin-bottom:20px}.canvas-orbit:before,.canvas-orbit:after{content:"";position:absolute;border:1px solid #d1733c20;border-radius:50%;inset:18px}.canvas-orbit:after{inset:37px;background:#a94e1608}.canvas-orbit>span{font-size:37px;color:#e47b37;filter:drop-shadow(0 0 17px #ff770e55)}.canvas-orbit i{position:absolute;width:5px;height:5px;background:#f18b46;border-radius:50%;top:18px;right:18px;box-shadow:0 0 12px #ff791d88}.empty-canvas h2{font-size:25px;line-height:1.3;letter-spacing:-.8px;font-weight:400;color:#c9b9af;margin:0}.empty-canvas p{font-size:12px;color:#796e68;margin:17px 0 0}.canvas figure{margin:0;flex:1;min-height:0;position:relative;background:#0b0a0a}.canvas figure img{display:block;width:100%;height:100%;max-height:520px;object-fit:contain}.canvas figcaption{position:absolute;top:15px;left:15px;background:#090909ca;border:1px solid #ffffff25;color:#f4e2d3;padding:6px 9px;border-radius:5px;font-size:10px}.canvas-bottom{margin-top:auto;padding:22px 23px 18px;border-top:1px solid #30241f;background:#151210}.canvas-bottom strong{font-size:14px;font-weight:500}.canvas-bottom>div>p{font-size:11px;color:#877970;line-height:1.6;margin:7px 0 17px}.video-button{display:flex;align-items:center;justify-content:center;gap:40px;width:100%;padding:14px;background:linear-gradient(#ff9840,#ff6d15);border:0;color:#291206;font-size:14px;font-weight:650;border-radius:9px}.video-button:disabled{background:#292019;color:#866750;border:1px solid #443122}.ownership-note{font-size:10px;line-height:1.5;text-align:center;color:#807269;margin:11px 0 0}.versions{display:flex;overflow:auto;gap:8px;padding:10px 14px;scrollbar-width:thin}.versions:empty{display:none}.versions button{background:#28201b;border:2px solid transparent;border-radius:7px;padding:0;width:47px;height:51px;flex-shrink:0;overflow:hidden}.versions button.selected{border-color:var(--orange)}.versions img{width:100%;height:100%;object-fit:cover}.render-state{flex:1;text-align:center;display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:300px}.render-state h3{font-size:18px;font-weight:450}.render-state p{font-size:12px;color:#a3948a}.spinner{width:42px;height:42px;border:2px solid #52321e;border-top-color:var(--orange);border-radius:50%;animation:spin 1s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}.toast{position:fixed;bottom:25px;left:50%;transform:translateX(-50%);z-index:30;background:#30231c;border:1px solid #895537;color:#f5d8c4;padding:14px 22px;border-radius:12px;box-shadow:0 15px 45px #0008;max-width:calc(100% - 32px);width:max-content;font-size:13px;line-height:1.6}.mobile-tabs{display:none}dialog{color:var(--white);background:linear-gradient(130deg,#211911,#111);border:1px solid #694329;border-radius:20px;padding:35px;width:440px;max-width:calc(100% - 24px);box-shadow:0 20px 150px #0008}dialog::backdrop{background:#000b;backdrop-filter:blur(8px)}dialog h2{font-size:30px;letter-spacing:-1px;font-weight:450;margin:17px 0}dialog>p{color:#ac9b90;font-size:13px;line-height:1.7}.dialog-close{position:absolute;right:15px;top:12px;font-size:26px;background:none;border:0;color:#be9a80}.purchase-preview{margin:25px 0;display:flex;align-items:center;gap:15px;background:#0c0b0a88;border:1px solid #3a2b21;border-radius:11px;padding:10px}.purchase-preview img{width:67px;height:75px;object-fit:cover;border-radius:5px}.purchase-preview strong{display:block;font-size:14px}.purchase-preview span{display:block;font-size:18px;color:#f7a16c;margin-top:9px}.terms{font-size:12px;color:#baa89a;display:flex;gap:8px;line-height:1.7;align-items:flex-start;margin:20px 0}.terms input{accent-color:var(--orange);margin-top:4px;flex-shrink:0}.terms a{text-decoration:underline}.dialog-primary,.file-label{display:block;width:100%;text-align:center;background:var(--orange);color:#221208;border:0;border-radius:9px;padding:14px;font-weight:600;font-size:14px}.dialog-primary:disabled{opacity:.3}.purchase-note{font-size:11px!important;text-align:center;line-height:1.7}.library-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.library-grid button{padding:0;border:1px solid #5b3c2a;background:#17120f;border-radius:10px;overflow:hidden;text-align:left}.library-grid img{width:100%;aspect-ratio:1;object-fit:cover}.library-grid span{display:block;padding:10px;font-size:12px}.file-label{cursor:pointer}#reference-file{display:block;width:100%;margin:16px 0;font-size:12px}.examples{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin-top:20px}.examples button{background:#17120f;border:1px solid #573820;border-radius:8px;padding:0;overflow:hidden}.examples img{width:100%;height:145px;object-fit:cover;object-position:top}.examples span{display:block;font-size:10px;padding:10px 3px;line-height:1.5}
@media(min-width:1600px){.studio-grid{grid-template-columns:minmax(440px,1fr) minmax(450px,.85fr);gap:60px}.welcome{padding-left:25px}.main-workspace{padding:45px 60px}.workspace-heading{margin-bottom:40px}.studio-grid{height:calc(100dvh - 315px)}}
@media(max-width:1150px){.app-shell{grid-template-columns:175px 1fr}.main-workspace{padding:28px 25px}.topbar{padding:0 25px}.studio-grid{gap:19px;grid-template-columns:minmax(280px,1fr) minmax(260px,.9fr)}.steps{gap:12px;font-size:10px}.sidebar{padding:25px 12px}.brand{font-size:14px}.topbar nav{gap:20px;font-size:12px}.account{gap:13px}.free-badge{font-size:11px}.workspace-heading h1{font-size:32px}.welcome>p{font-size:13px}}
@media(max-width:900px){.sidebar{display:none}.app-shell{grid-template-columns:1fr}.main-workspace{padding:25px 28px}.studio-grid{min-height:620px;height:calc(100dvh - 275px)}.workspace-heading h1{font-size:33px}}
@media(max-width:650px){.topbar{height:73px;padding:0 18px;gap:10px}.brand{gap:7px;font-size:12px;letter-spacing:.5px}.brand img{width:27px;height:34px}.topbar nav{display:none}.avatar{width:31px;height:31px}.account{gap:10px}.free-badge{font-size:10px;gap:6px}.connection-note{font-size:11px;padding:9px 16px;line-height:1.6}.app-shell{min-height:calc(100dvh - 73px)}.main-workspace{padding:22px 18px 0}.workspace-heading{margin-bottom:22px}.workspace-heading h1{font-size:29px;letter-spacing:-1px}.eyebrow{font-size:9px;letter-spacing:2px}.steps{display:none}.mobile-tabs{display:flex;border-bottom:1px solid #2c2520;gap:25px;margin:0 0 15px}.mobile-tabs button{border:0;background:none;padding:0 0 12px;color:#8b7c73;font-size:13px;position:relative}.mobile-tabs [aria-selected=true]{color:#ff9c58}.mobile-tabs [aria-selected=true]:after{content:"";height:2px;background:var(--orange);position:absolute;bottom:-1px;left:0;right:0}.studio-grid{display:block;height:auto;min-height:0}.chat-panel{min-height:calc(100dvh - 275px)}.welcome{margin:auto 0;padding:12px 0 15px}.assistant-mark{font-size:26px}.welcome h2{font-size:24px;margin:12px 0}.welcome>p{font-size:12px;line-height:1.8;margin-bottom:18px}.idea-grid{gap:7px}.idea-grid button{padding:12px 14px}.idea-grid strong{font-size:12px}.idea-grid small{font-size:10px}.composer-wrap{position:sticky;bottom:0;padding:13px 0 max(14px,env(safe-area-inset-bottom));background:linear-gradient(transparent,#090909 15%);margin-top:12px;z-index:3}.composer{padding:13px 13px 10px}.composer textarea{font-size:16px;min-height:43px}.composer-footnote{font-size:9px;line-height:1.5;margin:10px 0 0}.canvas{display:none;min-height:470px;max-height:none;margin-bottom:20px}.main-workspace.preview-active .canvas{display:flex}.main-workspace.preview-active .chat-panel{display:none}.canvas figure{max-height:450px}.canvas figure img{height:360px}.empty-canvas{padding:28px 0;min-height:280px}.canvas-orbit{width:105px;height:105px}.canvas-bottom{padding:17px}.canvas-heading{padding:17px}.messages{max-height:none;overflow:visible}.message{font-size:13px;margin:15px 0}dialog{padding:30px 23px}.toast{bottom:max(22px,env(safe-area-inset-bottom));font-size:12px}.sidebar-bottom{display:none}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important;animation-duration:.01ms!important;animation-iteration-count:1!important}}

@media(max-width:650px){.mobile-tabs{gap:20px}.mobile-tabs #library-mobile{margin-left:auto}.mobile-tabs #mobile-new{color:var(--orange)}.composer-footnote{font-size:11px}.ownership-note{font-size:11px}.composer-tip{color:#9a8980}}

/* Saved creations and a stable studio frame. No commerce, quota or consent changes. */
body.uv-custom-studio{height:var(--studio-height,100dvh);min-height:0;overflow:hidden;display:grid;grid-template-rows:auto minmax(0,1fr)}
.uv-custom-studio .app-shell{min-height:0;height:100%;width:100%;overflow:hidden}
.uv-custom-studio .sidebar{min-height:0;overflow-y:auto;padding-top:20px}
.uv-custom-studio .sidebar-bottom{padding-top:25px}
.uv-custom-studio .main-workspace{min-width:0;min-height:0;overflow:hidden;display:grid;grid-template-rows:auto minmax(0,1fr);padding:20px 28px}
.uv-custom-studio .workspace-heading{margin:0 0 16px}
.uv-custom-studio .workspace-heading h1{font-size:clamp(25px,2.8vw,38px);line-height:1.12}
.uv-custom-studio .studio-grid{height:100%!important;min-height:0!important;overflow:hidden;gap:20px}
.uv-custom-studio .chat-panel{height:100%;min-height:0;overflow:hidden}
.uv-custom-studio .welcome{flex:1;min-height:0;overflow-y:auto}
.uv-custom-studio .messages{flex:1;min-height:0;max-height:none;overflow-y:auto!important;overscroll-behavior:contain}
.uv-custom-studio .composer-wrap{position:static;flex:none;margin-top:12px;padding:0 0 max(10px,env(safe-area-inset-bottom));background:none}
.uv-custom-studio .composer-footnote.terms{font-size:12px;line-height:1.45;margin:10px 0 0}
.uv-custom-studio .canvas{height:100%;min-height:0!important;max-height:none;overflow:hidden}
.uv-custom-studio .canvas figure{max-height:none;min-height:0}
.uv-custom-studio .canvas figure img{height:100%;max-height:none}
.uv-custom-studio .canvas-bottom{padding:14px 18px}
.uv-custom-studio .canvas-bottom>div>p:empty,.uv-custom-studio .canvas-bottom>p:empty{display:none}
.uv-custom-studio .canvas-bottom>div>p,.uv-custom-studio .ownership-note{font-size:12px;line-height:1.4}
.uv-custom-studio .library-summary{font-size:14px;color:#d9cce7;margin:0 0 18px}
.uv-custom-studio .library-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(145px,1fr));gap:16px}
.uv-custom-studio .saved-creation{display:flex;flex-direction:column;min-width:0;gap:9px}
.uv-custom-studio .library-grid .saved-creation-image{padding:0;margin:0;width:100%;aspect-ratio:1;border:1px solid #ac81d65c;border-radius:16px;overflow:hidden;background:#100b1a}
.uv-custom-studio .saved-creation-image img{display:block;width:100%;height:100%;object-fit:contain}
.uv-custom-studio .saved-creation strong{font-size:13px;line-height:1.4;font-weight:600}
.uv-custom-studio .library-grid .saved-creation-action{padding:9px 10px;border:1px solid #b185d36b;border-radius:999px;background:linear-gradient(180deg,#4a2a66,#261833);color:#f7eeff;font-size:12px;min-height:38px;box-shadow:inset 0 1px 0 #ffffff2b}
.uv-custom-studio .purchase-note{font-size:12px;line-height:1.5}
@media(max-width:650px){
 .uv-custom-studio .topbar{min-height:64px;height:auto;padding:10px 14px}
 .uv-custom-studio .main-workspace{padding:12px;grid-template-rows:auto auto minmax(0,1fr)}
 .uv-custom-studio .workspace-heading{margin-bottom:10px}
 .uv-custom-studio .workspace-heading h1{font-size:23px}
 .uv-custom-studio .workspace-heading .eyebrow,.uv-custom-studio .steps{display:none}
 .uv-custom-studio .mobile-tabs{margin:0 0 10px;gap:18px}
 .uv-custom-studio .studio-grid{display:block}
 .uv-custom-studio .chat-panel{min-height:0!important}
 .uv-custom-studio .composer-wrap{padding-bottom:max(4px,env(safe-area-inset-bottom))}
 .uv-custom-studio .canvas{margin:0}
 .uv-custom-studio .canvas figure{max-height:none}
 .uv-custom-studio .canvas figure img{height:100%}
 .uv-custom-studio .canvas-heading{padding:12px 16px}
 .uv-custom-studio .canvas-bottom{padding:12px 16px}
 .uv-custom-studio .canvas-bottom>div>p{margin:5px 0 10px}
 .uv-custom-studio .library-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
}
@media(max-width:650px){
 .uv-custom-studio .topbar .brand img{width:40px;height:40px}
 .uv-custom-studio .topbar .brand{gap:7px}
 .uv-custom-studio .topbar .brand span{font-size:12px}
 .uv-custom-studio .composer{padding:12px}
 .uv-custom-studio .composer textarea{min-height:42px;max-height:90px}
 .uv-custom-studio .composer-actions{margin-top:8px}
 .uv-custom-studio .reference-chip{padding:8px 10px;margin-bottom:8px}
 .uv-custom-studio .composer-tip{display:none}
 .uv-custom-studio .library-grid .saved-creation-action{font-size:12px}
 .uv-custom-studio #library-dialog h2{font-size:25px}
}
@media(max-width:650px) and (max-height:600px){
 .uv-custom-studio .workspace-heading{display:none}
 .uv-custom-studio .main-workspace{grid-template-rows:auto minmax(0,1fr);padding:8px 12px}
 .uv-custom-studio .topbar{padding:6px 14px;min-height:50px}
 .uv-custom-studio .topbar .brand img{width:32px;height:32px}
 .uv-custom-studio .composer-footnote.terms{margin-top:6px}
 .uv-custom-studio .image-addon-button{padding:5px 10px;margin-top:6px}
}

.uv-custom-studio .composer-actions .send{margin-left:auto}

.uv-custom-studio .brand img{filter:drop-shadow(0 0 9px #c48bff55)!important;mix-blend-mode:screen;object-fit:contain}
.uv-custom-studio .message.user .bubble,.uv-custom-studio .reference-chip{background:linear-gradient(145deg,#30203d,#171020);border-color:#a879cf66;color:#f8eeff}
.uv-custom-studio .dialog-close,.uv-custom-studio .canvas-heading button{color:#dbbaff}
.uv-custom-studio .terms:has(select){display:grid;gap:8px}
.uv-custom-studio .terms select{width:100%;max-width:100%;min-height:44px;padding:9px 12px;border:1px solid #ad82ca;border-radius:12px;background:#20132e;color:#f8efff;font:inherit;font-size:16px}
/* The composer supplies the visible focus state; avoid a second inner bubble. */
html.ac-pristine .uv-custom-studio .composer #prompt:focus-visible{outline:none!important;outline-offset:0}
html.ac-pristine .uv-custom-studio .composer:focus-within{border-color:#dca6f7;box-shadow:0 0 0 2px #c58ae450,0 0 20px #a55bd52b}

/* Generated pictures stay in their private conversation. */
.message.generation{max-width:100%;width:min(100%,360px);padding:0;background:none}
.chat-image{display:block;width:100%;padding:0;border:1px solid #b989d58c;border-radius:22px;overflow:hidden;background:#160d20;box-shadow:0 0 20px #b87ce51a}
.chat-image img{display:block;width:100%;height:auto;aspect-ratio:1;object-fit:contain}
.message.generation[aria-busy="true"] .bubble{color:#e6c6f5}
@media(max-width:650px){.message.generation{width:min(100%,290px)}}

/* Exact legible names live in the card; private generation references stay clean. */
.chat-image,#versions button{position:relative;overflow:hidden}.ac-champ-name{display:block;position:absolute;inset:auto 0 0;padding:18px 10px 8px;background:linear-gradient(transparent,rgba(8,2,14,.94));color:#fff;font-weight:700;font-size:13px;line-height:1.2;text-align:left;overflow-wrap:anywhere}#versions .ac-champ-name{font-size:10px;padding:14px 4px 4px}#image-caption{color:#fff;font-weight:700;font-size:16px}

.chat-image,#versions button,#image-figure{background:#100718 url('/assets/ac-v6-e985bb5/assets/uv/champ-haze-20261113.svg') center/cover}#image-figure{position:relative;border-radius:18px;overflow:hidden}#image-caption{position:absolute;inset:auto 0 0;padding:26px 14px 12px;background:linear-gradient(transparent,#0b0415ec);color:#fff}

.save-champ{margin-top:10px}.canvas-bottom #save-creation{width:100%;margin-bottom:8px}.message.generation{flex-direction:column;align-items:flex-start}.message.generation .chat-image{flex:none;aspect-ratio:1}.message.generation .save-champ{padding:8px 14px;min-height:40px;flex:none;width:auto;align-self:flex-start;white-space:nowrap}

.canvas-actions{display:grid;grid-template-columns:1fr 1fr;gap:8px;align-items:center}.canvas-actions #save-creation,.canvas-actions #use-video{margin:0;width:100%;min-width:0;font-size:14px;line-height:1.3}.canvas-actions:has(#save-creation[hidden]){grid-template-columns:1fr}
