#panel_pro h3{font-size:16px;font-weight:700}#panel_pro details{background:#151d2c;border:1px solid #354158;border-radius:14px;padding:12px;margin:12px 0}#panel_pro summary{cursor:pointer;font-size:13px;font-weight:600;padding:6px 0;color:#ddd6fe}#panel_pro button,#panel_pro select,#panel_pro input:not([type=range]){background:#28334a;color:#f1f5f9;border:1px solid #46536b;border-radius:9px;padding:10px;font-size:12px;max-width:100%}#panel_pro button{cursor:pointer;margin:4px 3px 4px 0;min-height:40px}#panel_pro button:disabled{opacity:.4;cursor:not-allowed}#panel_pro input[type=number],#panel_pro input[type=text],#layerText,#layerSelect,#layerFont{width:100%;margin:5px 0}#panel_pro input[type=color]{height:40px;width:48px;padding:3px}.pro-slider{display:block;font-size:12px;margin:16px 0;color:#cbd5e1}.pro-slider output{float:right;color:#c4b5fd}.pro-slider input{width:100%;accent-color:#a78bfa;margin-top:12px}.pro-note{font-size:11px;line-height:1.6;color:#94a3b8;margin:8px 0}.pro-row{display:flex;gap:8px;margin:10px 0}.pro-row>*{min-width:0;flex:1}.pro-channels{display:flex;flex-wrap:wrap;margin:10px 0}.pro-channels button[aria-pressed=true]{background:#5b21b6!important}#curveGraph{width:100%;height:110px;background:#080d17;border-radius:8px;margin-top:10px}.pro-file{display:block;background:#343255;padding:12px;border-radius:10px;font-size:12px}.pro-file input{display:block;margin-top:12px}#cropSelection{position:absolute;border:2px solid #fff;box-shadow:0 0 0 100vmax #0007;pointer-events:none;background:linear-gradient(90deg,transparent 32.7%,#fff7 33%,transparent 33.3%,transparent 66%,#fff7 66.3%,transparent 66.6%)}#modeBtn_pro{font-size:11px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;width:48px;min-height:48px;border-radius:12px;color:#c4b5fd;background:#6d28d933;border:1px solid #7c3aed55}#mobileToolShortcuts{display:none}
@media(max-width:1023px){
 html{height:100%;overflow:hidden}body{height:100dvh;min-height:0;overflow:hidden;padding-bottom:0}header{min-height:50px!important;padding:6px 10px!important;padding-top:calc(6px + env(safe-area-inset-top))!important}header nav{padding:2px;border:0;border-radius:8px}header nav button{min-height:32px;font-size:10px;padding:6px 8px}header nav button i,header nav button svg{display:none}header>div:first-child .font-bold{font-size:13px}#openAccount{max-width:140px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}#viewStudio{height:calc(100dvh - var(--studio-header,96px) - var(--studio-bottom,112px))!important;flex:none}#editorWorkspace{min-height:0;overflow:hidden}#editorWorkspace>div:first-child{min-height:38px;padding:4px 8px;flex-wrap:nowrap;overflow-x:auto;flex-shrink:0}#editorWorkspace>div:first-child>div{flex-shrink:0}#editorWorkspace>div:first-child button{white-space:nowrap;min-height:32px}#canvasViewport{min-height:70px}#interactiveHintBanner{display:none!important}.frame-toolbar{padding:6px 10px;min-height:42px}.frame-controls{padding:3px 8px;min-height:36px}.frame-controls button{min-height:30px;padding:4px 10px}.frame-toolbar strong{font-size:11px}.frame-toolbar span{max-width:160px;margin-top:1px}.frame-upload{padding:7px 10px}.mobile-tools-open #mobileToolSheet{height:38%;min-height:140px;max-height:none!important;border-radius:14px 14px 0 0}#mobileToolSheet>div:first-child{display:none!important}#mobileToolSheet>div:nth-child(2){height:100%;padding:8px 12px;display:block}#mobileToolSheet>div:nth-child(2)>div:first-child{display:none}#mobileToolSheet .tool-panel{padding-bottom:20px}#mobileActionBar{display:grid;grid-template-columns:repeat(5,1fr);gap:0;padding:0 6px calc(6px + env(safe-area-inset-bottom));min-height:100px}#mobileToolShortcuts{grid-column:1/-1;display:flex;align-items:center;overflow-x:auto;gap:6px;padding:6px 0;scrollbar-width:none}#mobileToolShortcuts button{min-height:38px;min-width:max-content;padding:6px 14px;font-size:12px;display:block;flex:0 0 auto;border:1px solid #334155;background:#1c2639}#mobileToolShortcuts button[aria-pressed=true]{background:#6d28d9;border-color:#c4b5fd;color:white}#mobileActionBar>button,#mobileActionBar>label{min-height:44px;font-size:17px}#mobileActionBar>button span,#mobileActionBar>label span{font-size:10px}#panel_pro button{min-height:44px}.pro-slider input{min-height:26px;touch-action:pan-x}body[data-view=gallery],body[data-view=services]{height:100dvh;overflow:auto}body[data-view=gallery] #viewGallery,body[data-view=services] #viewServices{flex:none;padding-bottom:40px}#toastBanner{bottom:calc(var(--studio-bottom,112px) + 12px)}
@media(max-width:1023px) and (orientation:landscape){header nav{display:none}#mobileToolShortcuts{padding:3px 0}.mobile-tools-open #mobileToolSheet{height:42%}#mobileActionBar{min-height:84px}#editorWorkspace>div:first-child,.frame-controls{display:none}.frame-toolbar{min-height:32px;padding:3px 10px}}

.ai-create-panel{padding:14px;border:1px solid #6d5ca8;border-radius:14px;background:#1a1830;margin-bottom:14px}.ai-create-panel summary{font-weight:700;font-size:14px;cursor:pointer}.ai-create-panel p{font-size:12px;color:#b9b6ce;line-height:1.6;margin:10px 0}.ai-create-panel select,.ai-create-panel textarea{width:100%;border:1px solid #4c4868;border-radius:8px;padding:10px;background:#101422;color:#eee;margin:8px 0;font-size:13px}.ai-create-panel label{font-size:12px}.ai-create-panel button{padding:12px;background:#6d28d9;border-radius:9px;color:#fff;font-size:12px;margin:6px 5px 0 0;min-height:44px}.ai-create-panel button:disabled{opacity:.45}.ai-consent{display:flex;gap:10px;align-items:flex-start;line-height:1.6;margin:10px 0}.ai-consent input{margin-top:4px;flex-shrink:0}#aiCloudPreview{width:100%;max-height:280px;object-fit:contain;margin:12px 0}

#aiSessionKey{width:100%;padding:10px;background:#101422;border:1px solid #4c4868;border-radius:8px;margin:6px 0;color:#eee;font-size:16px}#aiSessionKeyLabel span{display:block;font-size:10px;color:#a8a3be;line-height:1.5}
