/* Complete visual draft. Source scan geometry and exported data are unchanged. */
:root,[data-theme=dark]{--fg-2:#b2aec5;--fg-3:#9993ae;--line:#302c40}
[data-theme=light]{--fg-2:#55526a;--fg-3:#655f78;--line:#d7d3e3}
body{font-size:14px}
.btn,input,select,textarea{font-size:14px}
.btn{min-height:42px;height:auto;padding:9px 16px;line-height:1.5}
.btn.sm{min-height:36px;font-size:13px;padding:6px 12px}
.btn:disabled,button:disabled{cursor:not-allowed}
.page-desc,.studio-page-head p,.muted,.submit-hint{font-size:13px;line-height:1.8}
.ff label,.form-title{font-size:14px}
.form-textarea,.form-select,.ff select,.ff input{font-size:14px;min-height:44px}
.studio-card,.work-tile,.metric,.settings-main>.content-inner,.tool-preview{border-color:var(--line);box-shadow:none}
.metric small,.metric span,.studio-table th{font-size:13px}
.metric b{font-size:30px}
.studio-card h3{font-size:16px}
.empty-state{font-size:14px;padding:36px 24px;line-height:2;color:var(--fg-2)}
.empty-state .btn{margin-top:16px}
.studio-loading{font-size:14px;color:var(--fg-2)}
.dash-work{min-height:92px;gap:16px;padding:15px 0}
.dash-work img{width:68px;height:68px;object-fit:contain;background:#000;border:1px solid var(--line);border-radius:8px}
.dash-work-info b{font-size:14px;line-height:1.6;overflow-wrap:anywhere}
.dash-work-info small,.quick-entry small,.work-info p{font-size:12px;line-height:1.7;color:var(--fg-2)}
.quick-entry{min-height:76px}.quick-entry b{font-size:14px}
.status-pill{font-size:12px;padding:4px 9px;white-space:nowrap}
.works-search{height:44px;font-size:14px}
.work-info h3{font-size:15px;line-height:1.6;overflow-wrap:anywhere}
.work-tile{display:flex;flex-direction:column}.work-info{flex:1;display:flex;flex-direction:column}.work-actions{margin-top:auto}
.work-image{background:#000!important;height:220px!important;min-height:220px;aspect-ratio:auto!important;overflow:hidden}
.work-image img{object-fit:contain!important;height:100%!important;width:100%!important;display:block}
.work-actions{gap:8px}.work-actions .btn{font-size:13px}
.works-tabs button{font-size:13px;min-height:40px}
.studio-table{font-size:13px}.studio-table td{padding:16px 14px}
.toast{font-size:14px;max-width:min(90vw,560px);line-height:1.7}
.full-account-dialog{width:min(440px,calc(100vw - 32px));margin:auto;padding:26px;border:1px solid var(--line);border-radius:15px;background:var(--bg-1);color:var(--fg);box-shadow:0 25px 90px #0007}
.full-account-dialog::backdrop{background:#0009;backdrop-filter:blur(5px)}
.full-account-dialog header{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:13px}.full-account-dialog h2{font-size:21px;font-weight:600}
.full-dialog-close{font-size:24px;width:32px;height:32px;border-radius:7px;color:var(--fg-2)}.full-dialog-close:hover{background:var(--bg-2)}
.full-account-dialog p{font-size:13px;line-height:1.8;color:var(--fg-2);margin-bottom:22px}.full-account-dialog label{display:block;font-size:13px;margin-bottom:8px}
.full-account-dialog input{width:100%;height:46px;border:1px solid var(--line);background:var(--bg);border-radius:8px;padding:0 13px;color:var(--fg);font-size:15px}
.full-point-options{display:grid;grid-template-columns:repeat(4,1fr);gap:8px;margin-top:12px}.full-point-options button{font-size:12px;min-height:38px;border:1px solid var(--line);border-radius:7px}.full-point-options button[aria-pressed=true]{background:var(--accent-soft);border-color:var(--accent)}
.full-account-dialog footer{display:flex;gap:10px;justify-content:flex-end;margin-top:26px}.full-dialog-error{font-size:13px;color:var(--danger);margin-top:15px}
.auth-error{border-radius:9px}
/* Keep the approved purple identity and one clear homepage action area. */
.ljg-landing-copy{width:min(1120px,88%)}
.ljg-landing-copy h1{font-size:clamp(44px,5.2vw,72px);font-weight:600;line-height:1.22}
.ljg-landing-copy p{font-size:17px;color:#d0c7df;line-height:1.8}
.ljg-landing-cta .btn{height:48px;font-size:15px;min-width:160px}
.ljg-public-header .ljg-public-actions button{font-size:14px;min-height:44px;padding:8px 12px}
.ljg-public-actions .btn{display:none}
.ljg-landing-footer{font-size:12px;color:#b5a8c7}
.ljg-public .ljg-back-home{font-size:14px;min-height:44px}
.ljg-auth-center{margin:14px auto 40px;width:min(440px,calc(100% - 32px))}
.ljg-auth-title h1{font-size:28px;font-weight:600}
.ljg-auth-title p{font-size:14px;color:#b8adc8}
.ljg-auth-card{padding:28px;border-color:#3a3048;background:#12101c}
.ljg-auth-tabs{gap:20px;margin-bottom:24px}
.ljg-auth-tabs button{font-size:14px;padding-bottom:12px}
.ljg-auth-tabs button:disabled{color:#9b90aa;cursor:not-allowed}
.ljg-auth-tabs small,.ljg-social-row small{font-size:11px;color:#a89ab7}
.ljg-auth-card .auth-form label{font-size:13px;color:#d0c4df}
.ljg-auth-card .auth-input{height:46px;font-size:14px;border-color:#4a3a58;background:#0d0b14}
.ljg-auth-card .auth-input::placeholder{color:#a99cb8}
.ljg-auth-card .auth-submit{height:46px;font-size:15px}
.ljg-auth-card .auth-error{font-size:14px;line-height:1.7;background:#351a24;border:1px solid #894153;color:#ffdce4}
.full-password-field{position:relative}.full-password-field input{padding-right:65px}
.full-password-field button{position:absolute;right:7px;top:4px;bottom:4px;min-width:48px;color:#c6b8e8;font-size:12px;border-radius:5px}
.full-password-field button:hover{background:#ffffff0a}
.ljg-other-label{font-size:12px;color:#b3a3c3;margin:24px 0 14px}
.ljg-social-row button{min-height:44px;font-size:13px;opacity:.75;border-color:#44334f;cursor:not-allowed}
.ljg-auth-center .auth-switch{font-size:14px;color:#b3a3c3}
.ljg-auth-bottom{font-size:11px;color:#a394b3}
/* The sidebar keeps frequent destinations visible; all tools remain reachable. */
.sidebar{width:216px}.sb-header{padding:23px 18px 20px}.sb-nav{padding:0 12px;min-height:0;overflow:auto;flex:1}
.sb-item{min-height:42px;padding:9px 11px;font-size:14px;margin:3px 0}
.sb-glabel{padding:16px 11px 6px;font-size:11px;letter-spacing:.8px;color:var(--fg-3)}
.full-nav-tools{margin:10px 0;border-top:1px solid var(--line);border-bottom:1px solid var(--line);padding:4px 0}
.full-nav-tools>summary{cursor:pointer;display:flex;align-items:center;justify-content:space-between;min-height:44px;padding:8px 11px;font-size:13px;color:var(--fg-2);list-style:none}
.full-nav-tools>summary::-webkit-details-marker{display:none}
.full-nav-tools>summary:after{content:'⌄';transition:transform .2s}.full-nav-tools[open]>summary:after{transform:rotate(180deg)}
.full-nav-tools .sb-item{padding-left:13px;font-size:13px;min-height:39px}
.full-nav-tools.has-current>summary{color:var(--fg)}
.sb-footer{padding:12px;flex-shrink:0;border-top:1px solid var(--line)}
.credit-box{padding:12px;border-radius:9px;margin-bottom:0!important;background:var(--bg-1)}
.credit-box button.primary.recharge-outline{border:1px solid #55007f!important;background:transparent!important;color:#fff!important;min-height:40px;font-size:13px}
[data-theme=light] .sb-footer>.credit-box:not(.full-redeem-box){--fg:#f3edf9;--fg-2:#bbb2cb;background:#171220;color:#f3edf9}
.credit-row{font-size:12px}.credit-num{font-size:19px}
.full-redeem-box{padding:0!important;margin:8px 0 0!important;background:transparent;border:0}
.full-redeem-box .credit-row{display:none}.full-redeem-box button{min-height:34px;height:auto;border:0;color:var(--fg-2);font-size:12px;background:none;width:100%}
.side-account{font-size:11px;margin:8px 2px 0;gap:8px}.side-account small{font-size:11px;color:var(--fg-3)}
.side-account>div{min-width:0}#sideName{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:145px}
.topbar{padding:12px 28px}.breadcrumb{font-size:12px}.breadcrumb .cur{font-size:17px}.tb-btn{width:36px;height:36px;min-height:36px}
.top-credit{font-size:12px;min-height:36px;padding:6px 10px}
.full-nav-scrim{display:none}
.content{padding:26px 28px}
.settings-main>.content-inner{padding:24px}.settings-nav a{font-size:13px;min-height:42px}.settings-nav .muted{font-size:12px}
.tool-preview .rp-spec,.tool-preview .rp-status,.tool-preview .rp-note{font-size:12px}
.tool-preview .rp-controls button{font-size:13px;min-height:42px}
.cost-card{font-size:13px}.cost-card h4{font-size:14px}
/* Creator, including reuse of previous settings without losing the three steps. */
.ljg-creator .creator-steps{margin-bottom:18px}
.ljg-creator .creator-stage{max-width:920px}.ljg-creator .creator-stage.show-input{max-width:1000px}.ljg-creator .creator-stage.show-result{max-width:none}
.ljg-creator .show-input .creator-heading{margin:20px 0 24px}
.full-input-actions{display:flex;align-items:center;gap:10px;margin-left:auto;flex-wrap:wrap;justify-content:flex-end}
.full-input-actions .full-quick-generate{font-size:13px;min-height:44px;background:transparent;border-color:#51445f;color:var(--fg-1)}
.ljg-composer-toolbar .full-input-actions #wizardNext{margin:0}
.full-context{font-size:12px;line-height:1.7;color:var(--fg-2);margin:12px 0 0;min-height:20px}
.full-param-summary{font-size:12px;color:var(--fg-2);line-height:1.7;margin-top:6px}
.ljg-param-card{padding:18px 20px}.ljg-param-card header{margin-bottom:12px}
.ljg-creator #wizardPane3>.ljg-param-note{margin-top:12px}
.ljg-settings .ff[hidden]{display:none!important}
.ljg-creator #ljgAdvancedHost{grid-template-columns:repeat(auto-fit,minmax(180px,1fr))}
.full-settings-summary{font-size:12px;color:var(--fg-2)}
/* Result display fits the contents only in the preview, never in export data. */
.full-result-summary{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:0;border:1px solid var(--line);border-radius:10px;background:var(--bg-1);margin:0 0 16px;overflow:hidden}
.full-result-summary>div{padding:11px 16px;min-width:0;border-right:1px solid var(--line)}
.full-result-summary>div:last-child{border:0}.full-result-summary small{display:block;color:var(--fg-2);font-size:11px}.full-result-summary b{font-size:14px;font-weight:500;color:var(--fg);white-space:nowrap}
.full-display-toolbar{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:0 0 12px;flex-wrap:wrap}
.full-fit-switch{display:flex;padding:3px;background:var(--bg-1);border:1px solid var(--line);border-radius:8px;gap:3px}
.full-fit-switch button{min-height:34px;padding:6px 12px;color:var(--fg-2);font-size:12px;border-radius:5px}
.full-fit-switch button[aria-pressed=true]{color:var(--fg);background:var(--accent-soft);box-shadow:inset 0 0 0 1px var(--accent-line)}
.full-display-note{font-size:12px;color:var(--fg-2);line-height:1.6;flex:1;min-width:220px}
.creator-preview-card>header{padding:11px 15px;min-height:46px}.creator-preview-card h2{font-size:14px}.creator-preview-card>header>span{font-size:12px}
.creator-source-screen,#creatorLaserHost .canvas-wrap{height:clamp(280px,calc(100dvh - 480px),420px);min-height:280px;background:#000;border-radius:0}
.full-source-canvas{display:block;width:100%;height:100%;object-fit:contain;background:#000}
.full-source-rendered>img,.full-source-rendered>video{opacity:0;position:absolute!important;inset:0;pointer-events:none}
.creator-preview-caption{font-size:12px;color:var(--fg-2);padding:10px 15px;min-height:42px}
#creatorLaserHost .rp-spec{display:none}
#creatorLaserHost .rp-status{padding:10px 15px;min-height:42px;font-size:12px;line-height:1.7;color:var(--fg-2)}
.creator-player{padding:10px 13px;min-height:52px}.creator-player button{height:36px;font-size:13px}#creatorTime{font-size:12px}
.creator-player.full-static{display:none}
.creator-result-bottom{position:static;background:var(--bg);padding:14px 0 8px;border-top:1px solid var(--line);margin-top:16px;gap:16px;align-items:center}
.creator-result-cost{font-size:12px;line-height:1.8;min-width:0}.creator-result-cost small{font-size:12px;line-height:1.8}
.creator-export-actions button{min-height:44px;height:auto;font-size:13px;padding:10px 15px}
.full-static-label{font-size:12px;color:var(--fg-2)}
.ljg-creator #creatorResultActions .btn{min-height:40px;font-size:13px}
.creator-history summary{min-height:36px;display:flex;align-items:center;font-size:13px;gap:8px}
.creator-history summary:before{content:'▸';font-size:11px}.creator-history[open]>summary:before{content:'▾'}
.full-show-result .creator-steps{margin-bottom:12px;padding:0}.full-show-result .creator-step{min-height:32px}
.full-show-result .creator-heading{margin-bottom:12px!important}.full-show-result .creator-heading .page-title{font-size:24px}
.full-show-result .creator-heading .page-desc{font-size:12px;margin-top:5px}
.full-show-result .full-result-summary{margin-bottom:12px}.full-show-result .full-result-summary>div{padding:8px 14px}
.full-show-result .full-display-toolbar{margin-bottom:8px}.full-show-result .full-fit-switch button{min-height:30px}
.full-show-result .creator-source-screen,.full-show-result #creatorLaserHost .canvas-wrap{height:clamp(200px,calc(100dvh - 530px),360px);min-height:200px}
[data-theme=light] .ljg-composer,[data-theme=light] .ljg-param-card,[data-theme=light] .ljg-settings{border-color:var(--line);background:var(--bg-1)}
[data-theme=light] .ljg-device,[data-theme=light] .ljg-color,[data-theme=light] .ljg-budget{border-color:var(--line);background:var(--bg)}
[data-theme=light] .ljg-device.selected,[data-theme=light] .ljg-color[aria-pressed=true]{background:var(--accent-soft);border-color:var(--accent)}
[data-theme=light] .ljg-creator #danceMode{background:var(--bg);border-color:var(--line);color:var(--fg)}
[data-theme=light] .ljg-composer-toolbar{border-color:var(--line)}
[data-theme=light] #appView .ljg-brand b{color:#292337}
[data-theme=light] #appView .ljg-brand small{color:#655b75}
[data-theme=light] #appView .ljg-mark{background:#ece6f6}
[data-theme=light] #appView .ljg-prism path:nth-child(1){stroke:#6b42aa}
[data-theme=light] #appView .ljg-prism path:nth-child(2){stroke:#655575}
[data-theme=light] #appView .ljg-prism path:nth-child(3){stroke:#6b42aa}
[data-theme=light] #appView .ljg-prism path:nth-child(4){stroke:#1c7280}
[data-theme=light] #appView .ljg-prism path:nth-child(5){stroke:#9f456a}
[data-theme=light] .top-credit,[data-theme=light] .avatar,[data-theme=light] .sb-item .badge{color:#5d3ab4}
@media(min-width:1550px){.sidebar{width:230px}.content{padding:30px 36px}}
@media(max-width:1100px){.sidebar{width:194px}.content{padding:24px}.full-result-summary>div{padding:10px 12px}.full-input-actions .full-quick-generate{font-size:12px}.creator-result-bottom{flex-wrap:wrap}.creator-export-actions{margin-left:auto}}
@media(max-width:900px){
 .sidebar{width:230px}.content{padding:20px 16px}.topbar{padding:10px 16px}
 .full-nav-scrim.open{display:block;position:fixed;inset:0 0 0 230px;z-index:140;background:#0008;backdrop-filter:blur(2px)}
 .creator-source-screen,#creatorLaserHost .canvas-wrap{height:340px;min-height:0}
 .full-result-summary{grid-template-columns:repeat(3,minmax(0,1fr))}.full-result-summary>div{border-bottom:1px solid var(--line)}
 .full-result-summary>div:nth-child(3){border-right:0}.full-result-summary>div:nth-child(n+4){border-bottom:0}
 .creator-result-bottom{bottom:0}
}
@media(max-width:650px){
 .ljg-landing-copy{width:88%;padding-bottom:60px}.ljg-landing-copy h1{font-size:46px;letter-spacing:-1.5px}.ljg-landing-copy p{font-size:15px}
 .ljg-landing-cta{gap:10px}.ljg-landing-cta .btn{min-width:140px;font-size:14px}
 .ljg-landing-footer{font-size:11px}.ljg-auth-title h1{font-size:25px}.ljg-auth-card{padding:23px}
 .ljg-auth-tabs{gap:12px;flex-wrap:wrap}.ljg-auth-tabs button{font-size:13px}.ljg-social-row{gap:8px}
 .ljg-composer-toolbar{padding:14px}.full-input-actions{width:100%;gap:8px;flex-wrap:nowrap}.full-input-actions .btn{flex:1;min-width:0;font-size:12px;padding:10px 8px}
 .ljg-composer-toolbar .full-input-actions #wizardNext{min-width:0;flex:1.25;font-size:12px}
 .full-context{font-size:12px}.ljg-creator .creator-step{font-size:11px;gap:5px}.ljg-creator .creator-step .step-circle{width:23px;height:23px}
 .full-result-summary{grid-template-columns:repeat(2,minmax(0,1fr))}.full-result-summary>div{padding:9px 12px;border-bottom:1px solid var(--line)}
 .full-result-summary>div:nth-child(3){border-right:1px solid var(--line)}.full-result-summary>div:nth-child(2n){border-right:0}.full-result-summary>div:nth-child(4){border-bottom:1px solid var(--line)}
 .full-result-summary>div:last-child{grid-column:1/-1;border:0}.full-result-summary b{font-size:13px}
 .full-display-toolbar{gap:10px}.full-display-note{font-size:12px;width:100%}
 .creator-source-screen,#creatorLaserHost .canvas-wrap{height:330px}.creator-result-views.solo #creatorLaserHost .canvas-wrap{height:450px;min-height:0}
 .full-show-result .creator-source-screen,.full-show-result #creatorLaserHost .canvas-wrap{height:330px;min-height:0}
 .creator-preview-card>header>span{display:block;font-size:11px}.creator-result-bottom{padding:12px 0 5px;gap:10px}
 .creator-result-cost{font-size:12px;width:100%}.creator-result-cost small{display:block;font-size:11px}.creator-export-actions{width:100%;gap:8px}
 .creator-export-actions button{padding:10px 12px;min-height:44px;font-size:12px}.creator-export-actions #finalBtn{min-width:135px}
 .studio-page-head .head-actions{width:100%}.studio-metrics{grid-template-columns:repeat(2,minmax(0,1fr))!important}.metric{padding:15px}.metric b{font-size:25px}
 .studio-page-head .page-title{font-size:24px}.work-actions .btn{padding:9px 11px}.works-grid{grid-template-columns:1fr}
 .tool-preview{max-width:none}.tool-preview .rp-controls button{font-size:12px;min-height:44px}.form-sec{min-width:0}
}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;animation-duration:.01ms!important;transition:none!important}}
