/* Stable input surface and a compact first viewport; no generation behavior changes. */
.home-content{padding-top:18px}
html:root[data-lj-theme] .home-refined-v1 .home-hero{padding:0 0 18px;text-align:center}
html:root[data-lj-theme] .home-refined-v1 .home-hero>.eyebrow{font-size:10px;letter-spacing:2.8px;margin:0 0 6px}
html:root[data-lj-theme] .home-refined-v1 .home-hero h1{font-size:clamp(27px,2.5vw,38px);line-height:1.25;margin:0 0 10px}
html:root[data-lj-theme] .home-refined-v1 .home-hero>p{font-size:13px;margin:0;line-height:1.6}
html:root[data-lj-theme] .home-refined-v1 .creation-composer-v2{margin:18px auto 0;max-width:1100px;padding:12px 16px;border-radius:20px}
html:root[data-lj-theme] .home-refined-v1 .creation-composer-v2:focus-within{border-color:var(--ui-border)!important;box-shadow:none!important}
html:root[data-lj-theme] .home-refined-v1 .creation-composer-head{min-height:26px;margin:0 0 7px}
html:root[data-lj-theme] .home-refined-v1 .creation-input-caption{font-size:12px}
html:root[data-lj-theme] .home-refined-v1 .creation-prompt{border:1px solid var(--ui-border)!important;border-radius:11px!important;background:var(--ui-input)!important;color:var(--ui-text)!important;padding:13px 14px!important;height:104px;min-height:104px;max-height:160px;line-height:1.7;font-size:15px;outline:0 solid transparent!important;box-shadow:none!important;transition:border-color .12s}
html:root[data-lj-theme] .home-refined-v1 .creation-prompt:focus,html:root[data-lj-theme] .home-refined-v1 .creation-prompt:focus-visible{outline:0 solid transparent!important;border-color:var(--ui-accent-border)!important;box-shadow:none!important;background:var(--ui-input)!important}
html:root[data-lj-theme] .home-refined-v1 .creation-toolbar{border-top:0;padding-top:10px}
html:root[data-lj-theme] .home-refined-v1 .creation-references{margin:5px 0!important;max-height:50px}
html:root[data-lj-theme] .home-refined-v1 .creation-references:empty{margin:0!important}
html:root[data-lj-theme] .home-refined-v1 .creation-capabilities{margin:16px auto 0;max-width:1100px;gap:12px}
html:root[data-lj-theme] .home-refined-v1 .creation-capabilities>button{gap:7px;font-size:12px;padding:0 3px}
html:root[data-lj-theme] .home-refined-v1 .capability-icon{width:42px;height:42px;border-radius:13px;font-size:23px}
html:root[data-lj-theme] .home-refined-v1 .scene-section{margin:0 0 25px}
.scene-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:11px}
.scene-heading h2{font-size:17px!important;margin:0!important}
.scene-navigation{display:flex;align-items:center;gap:7px;flex:none}
.scene-note{font-size:11px;margin-right:4px;color:var(--ui-muted)}
.scene-navigation button{width:28px;height:28px;min-height:28px;padding:0;border-radius:50%;font-size:22px;line-height:1;background:var(--ui-panel);color:var(--ui-text)}
.scene-navigation button:disabled{opacity:.35}
html:root[data-lj-theme] .home-refined-v1 .scene-rail{display:flex;gap:14px;overflow-x:auto;overflow-y:hidden;margin:0;padding:0 0 8px;scroll-snap-type:x proximity;overscroll-behavior-x:contain;scrollbar-width:thin;scrollbar-color:var(--ui-border) transparent}
html:root[data-lj-theme] .home-refined-v1 .scene-card{display:block;flex:0 0 calc((100% - 42px)/4.35);min-width:190px;padding:0;scroll-snap-align:start;scroll-margin-inline:1px;text-align:left;transform:none!important;box-shadow:none!important;border-radius:13px;overflow:hidden;transition:border-color .15s}
html:root[data-lj-theme] .home-refined-v1 .scene-art{aspect-ratio:16/9;width:100%;background:var(--ui-soft)}
html:root[data-lj-theme] .home-refined-v1 .scene-art img{width:100%;height:100%;object-fit:cover;transform:scale(1);transform-origin:50% 55%;will-change:auto}
html:root[data-lj-theme] .home-refined-v1 .scene-caption{padding:9px 11px 10px}
html:root[data-lj-theme] .home-refined-v1 .scene-caption strong{font-size:14px;line-height:1.4;margin:0}
html:root[data-lj-theme] .home-refined-v1 .scene-caption small{display:block!important;margin-top:3px;line-height:1.5;font-size:11px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
@media(hover:hover) and (pointer:fine) and (prefers-reduced-motion:no-preference){html:root[data-lj-theme] .home-refined-v1 .scene-card:is(:hover,:focus-visible) .scene-art img{animation:scene-gentle-pan 2.8s ease-in-out both}}
@keyframes scene-gentle-pan{from{transform:scale(1)}to{transform:scale(1.065) translate(-.5%,-.4%)}}
@media(min-width:1500px){html:root[data-lj-theme] .home-refined-v1 .scene-card{flex-basis:calc((100% - 70px)/6);min-width:205px}}
@media(min-width:900px) and (max-height:800px){.home-content{padding-top:12px}html:root[data-lj-theme] .home-refined-v1 .home-hero>.eyebrow{display:none}html:root[data-lj-theme] .home-refined-v1 .home-hero h1{font-size:29px;margin-bottom:5px}html:root[data-lj-theme] .home-refined-v1 .home-hero>p{font-size:12px}html:root[data-lj-theme] .home-refined-v1 .creation-composer-v2{margin-top:12px;padding:9px 14px}html:root[data-lj-theme] .home-refined-v1 .creation-composer-head{min-height:22px;margin-bottom:5px}html:root[data-lj-theme] .home-refined-v1 .creation-prompt{height:88px;min-height:88px}html:root[data-lj-theme] .home-refined-v1 .creation-capabilities{margin-top:12px}html:root[data-lj-theme] .home-refined-v1 .capability-icon{width:36px;height:36px;font-size:21px}html:root[data-lj-theme] .home-refined-v1 .home-hero{padding-bottom:16px}html:root[data-lj-theme] .home-refined-v1 .scene-card{flex-basis:calc((100% - 42px)/4.4);min-width:185px}}
@media(max-width:899px){html:root[data-lj-theme] .home-refined-v1 .creation-capabilities{overflow-x:auto;display:flex;justify-content:flex-start;padding-bottom:4px}html:root[data-lj-theme] .home-refined-v1 .creation-capabilities>button{flex:0 0 75px}html:root[data-lj-theme] .home-refined-v1 .scene-card{flex-basis:220px}html:root[data-lj-theme] .home-refined-v1 .scene-heading h2{font-size:16px!important}}
@media(max-width:560px){.home-content{padding-top:14px}html:root[data-lj-theme] .home-refined-v1 .home-hero h1{font-size:24px}html:root[data-lj-theme] .home-refined-v1 .home-hero>p{font-size:12px}html:root[data-lj-theme] .home-refined-v1 .creation-composer-v2{margin-top:14px;padding:10px 11px}html:root[data-lj-theme] .home-refined-v1 .creation-prompt{height:112px;min-height:112px;font-size:16px}html:root[data-lj-theme] .home-refined-v1 .creation-capabilities{margin-top:14px;gap:5px}html:root[data-lj-theme] .home-refined-v1 .creation-capabilities>button{flex-basis:68px;font-size:11px}html:root[data-lj-theme] .home-refined-v1 .scene-card{flex-basis:185px;min-width:185px}.scene-note{display:none}.scene-navigation{gap:5px}html:root[data-lj-theme] .home-refined-v1 .scene-rail{gap:11px}html:root[data-lj-theme] .home-refined-v1 .scene-caption small{font-size:11px}}
@media(prefers-reduced-motion:reduce){html:root[data-lj-theme] .home-refined-v1 .scene-art img{animation:none!important;transition:none!important}html:root[data-lj-theme] .home-refined-v1 .scene-rail{scroll-behavior:auto}}
