:root{--bg:#000;--accent:#fff;--muted:#8f9199}body{background:#000;color:#f5f5f5;font-family:Arial,'Noto Sans SC',sans-serif}.nav{position:sticky;top:0;height:70px;background:#000b;backdrop-filter:blur(15px);z-index:25;max-width:none;padding:0 max(5.5vw,20px);border:0}.brand{letter-spacing:0}.nav .brand{font-size:20px}.nav .logo{width:30px;height:30px}.navlinks{font-size:13px;gap:30px;color:#c7c7cd}.navlinks .primary{padding:9px 19px;background:#fff;border:0;color:#111}.navlinks .primary svg{display:none}.reference-home .hero{height:calc(100svh - 70px);min-height:640px;background:#000;padding:0 25px;display:flex;flex-direction:column;justify-content:center;align-items:center;isolation:isolate}.reference-home .hero h1{font-size:clamp(40px,6.4vw,96px);font-weight:700;letter-spacing:-3px;line-height:1.25;margin:0 0 22px;background:linear-gradient(#fff,#91949e);background-clip:text;color:transparent}.reference-home .hero p{font-size:19px;color:#a0a1a8;font-weight:500;margin:0 0 40px}.reference-home .hero .primary{padding:17px 34px;background:#ffffff12;border:1px solid #ffffff30;color:white;backdrop-filter:blur(8px)}.light-orbit{position:absolute!important;inset:0;width:100%;height:100%;z-index:-1!important;opacity:.8;pointer-events:none}.reference-home .hero-light{z-index:0}.reference-home .hero>:not(canvas):not(svg){z-index:2}.motion-toggle{opacity:.4}.comparison-section{max-width:1280px;margin:auto;padding:76px 0 90px;text-align:center}.comparison-section h2,.inspiration-section h2{font-size:42px;letter-spacing:-1px;margin:0 0 18px;font-weight:700}.comparison-section>p,.inspiration-section>p{color:#999ba3;font-size:16px;margin:0 0 65px}.comparison-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}.comparison-card{border:1px solid #272729;border-radius:16px;overflow:hidden;background:#0c0c0c}.comparison-image{height:305px;position:relative;overflow:hidden}.comparison-image img{width:100%;height:100%;object-fit:cover;display:block}.comparison-before{position:absolute;inset:0;clip-path:inset(0 calc(100% - var(--split)) 0 0);filter:grayscale(1) contrast(1.8) brightness(1.2)}.comparison-divider{position:absolute;left:var(--split);top:0;bottom:0;width:2px;background:#eee;pointer-events:none}.comparison-divider b{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);display:grid;place-items:center;border-radius:50%;width:40px;height:40px;background:#aaa9;border:1px solid #ddd;backdrop-filter:blur(5px)}.comparison-image input{position:absolute;inset:0;width:100%;height:100%;opacity:0;cursor:ew-resize;margin:0}.comparison-image:focus-within{outline:2px solid white;outline-offset:-3px}.comparison-card>button{padding:19px 16px;width:100%;display:flex;justify-content:space-between;font-weight:600;font-size:13px}.demo-caption{display:block;margin-top:22px;color:#666;font-size:11px}.inspiration-section{text-align:center;overflow:hidden;padding:65px 0 80px}.inspiration-track{margin:15px 0;overflow:hidden}.inspiration-track>div{display:flex;gap:15px;width:max-content;animation:galleryDrift 80s linear infinite}.inspiration-track:nth-of-type(even)>div{animation-direction:reverse}.inspiration-track:hover>div,.inspiration-track:focus-within>div{animation-play-state:paused}.inspiration-track button{padding:0;width:300px;height:200px;border-radius:12px;overflow:hidden}.inspiration-track img{width:100%;height:100%;object-fit:cover}.inspiration-preview{width:100%;max-height:75vh;object-fit:contain}.footer{background:#000;border-color:#222;color:#777}.footer .brand{font-size:17px;color:white}.footer .logo{width:28px;height:28px}.footer button{margin-left:18px}@keyframes galleryDrift{to{transform:translateX(-50%)}}
.reference-studio,.reference-studio.library-open{display:block;position:relative;background:#06080b}.reference-studio>header{height:80px;position:absolute;top:0;left:0;right:0;padding:0 32px;background:transparent;border:0;z-index:25}.reference-studio header .brand{font-size:14px}.reference-studio header .logo{width:30px;height:30px}.reference-studio header .actions{gap:8px}.header-pill{display:flex;gap:7px;align-items:center;padding:11px 13px;background:#111216b3;border:1px solid #ffffff18;border-radius:30px;font-weight:600;font-size:12px;color:#d3d4d8;box-shadow:inset 0 0 0 1px #ffffff04}.header-pill svg{width:14px;height:14px}.reference-studio .language-switch{border-radius:30px;background:#111216b3;padding:11px 12px}.account-menu{position:relative}.account-menu summary{list-style:none;border:1px solid #ffffff20;border-radius:50%;width:39px;height:39px;background:#14151a;text-align:center;line-height:37px;font-size:26px;cursor:pointer}.account-menu>div{position:absolute;top:48px;right:0;background:#17181d;border:1px solid #333;border-radius:12px;padding:8px;width:170px;box-shadow:0 15px 40px #0008}.account-menu a,.account-menu button{display:block;padding:12px;text-align:left;width:100%;font-size:12px;border-radius:7px}.account-menu a:hover,.account-menu button:hover{background:#303138}.reference-studio .workspace{display:block;height:100%;background:none;overflow:hidden}.reference-studio .workspace:before{display:none}.reference-studio .studio-scroll{height:calc(100% - 230px);top:80px}.reference-studio .studio-welcome{height:100%;min-height:0;padding:0 20px 15px;justify-content:center}.reference-studio .studio-welcome h1{font-size:clamp(55px,7.5vw,110px);font-weight:700;letter-spacing:-3px;color:#e2e3e6;text-shadow:0 0 30px #ffffff30;line-height:1.2;margin:0}.reference-studio .studio-welcome em{font-style:normal;letter-spacing:-1px}.starfield{position:absolute;inset:0;overflow:hidden;pointer-events:none;background:radial-gradient(ellipse at 50% 50%,#0b1016,transparent 70%)}.starfield i{position:absolute;width:var(--size);height:var(--size);background:#e1edff;border-radius:50%;box-shadow:0 0 4px #ecf2ff}.starfield i:nth-child(7n){background:#fff7c9;box-shadow:0 0 5px #ffdb8c;animation:starPulse 4s ease-in-out infinite alternate}.starfield i:nth-child(3n){animation-delay:-2s}@keyframes starPulse{to{opacity:.25;transform:scale(.6)}}
.reference-studio .composer-v2{position:absolute;bottom:24px;left:50%;transform:translateX(-50%);margin:0;width:720px;max-width:calc(100% - 48px);z-index:20}.reference-studio .compose-controls{width:max-content;max-width:100%;margin:0 auto 16px;border:1px solid #ffffff20;box-shadow:inset 0 0 0 2px #ffffff04;background:#0e1016;border-radius:40px;padding:4px;gap:0}.reference-studio .media-segment{border:0;border-radius:30px;background:none;padding:0;gap:0}.reference-studio .media-segment button{font-size:12px;font-weight:600;border-radius:30px;padding:9px 10px;color:#ccc}.reference-studio .media-segment button.active{background:#fff;color:#000}.reference-studio .control-menu summary{border:0;border-left:1px solid #ffffff13;border-radius:0;padding:4px 10px;background:none;font-weight:600;font-size:12px;color:#c3c5ce}.reference-studio .control-menu summary>.ui-icon{display:none}.reference-studio .control-popover{border-radius:18px;background:#17191f;border-color:#32343b}.reference-studio .model-choice.selected,.reference-studio .ratio-options .selected,.reference-studio .resolution-options .selected{background:#fff;color:#141414;border-color:white}.reference-studio .model-choice small{color:#8c8e96}.reference-studio .inputbox{display:grid;grid-template-columns:42px minmax(0,1fr) auto;align-items:center;gap:10px;background:#0e1015ed;border:1px solid #ffffff26;box-shadow:inset 0 0 0 3px #ffffff06,0 0 20px #0004;border-radius:28px;padding:7px}.reference-studio .references{grid-column:1/-1;margin:0}.reference-studio .references:empty{display:none}.reference-studio #prompt{grid-column:2;grid-row:2;min-height:30px;height:32px;max-height:140px;margin:0;padding:4px 0;font-size:13px;resize:vertical}.reference-studio .compose-tools{grid-column:1;grid-row:2;gap:0}.reference-studio .upload-button{width:40px;height:40px;padding:10px;display:grid;place-items:center;border-radius:50%;background:#25272e;border:1px solid #ffffff10;color:#c8c9d0}.reference-studio .upload-button small{display:none}.reference-studio .outline-prompt{display:none}.reference-studio .compose-submit{grid-column:3;grid-row:2;gap:6px}.reference-studio #batch{background:#25272e;border-radius:17px;color:#b9bbc2;padding:10px 6px;font-size:10px;max-width:90px}.reference-studio .generate{background:#fff;color:#111;border-radius:17px;min-width:100px;padding:11px;font-size:12px}.reference-studio .generate:disabled{background:#494b52;color:#85868d}.reference-studio .composer-foot{font-size:9px;color:#72757d;margin-top:8px}.reference-studio .composer-foot>span:first-child{opacity:.7}.reference-studio .workflow-library{position:absolute;top:96px;right:0;bottom:128px;width:256px;border:1px solid #ffffff24;border-radius:24px 0 0 24px;z-index:23;background:#0e1119e8;backdrop-filter:blur(18px);padding:17px 15px 12px;box-shadow:inset 0 0 0 1px #ffffff05}.reference-studio .project-field{display:block;padding-bottom:12px;border-bottom:1px solid #ffffff0d;margin-bottom:12px}.reference-studio .project-field>span{display:block;border:0;padding:0 0 10px;font-size:11px;color:#81848d}.reference-studio .project-field input{width:100%;padding:11px;background:#1c1e26;border:1px solid #ffffff20;border-radius:12px;font-size:12px;color:#ddd}.discipline-tabs{display:flex;gap:5px;margin-bottom:10px}.discipline-tabs button{border:1px solid #ffffff12;border-radius:24px;padding:7px 10px;font-size:11px;color:#999}.discipline-tabs button.active{background:#fff;color:#000}.discipline-tabs button:last-child{margin-left:auto}.reference-studio .library-head,.reference-studio .library-intro,.reference-studio .library-footer{display:none}.reference-studio .workflow-search{border-radius:10px;background:#171a22;margin-bottom:8px}.reference-studio .workflow-search input{padding:8px 0;font-size:10px}.reference-studio .workflow-filters{gap:4px;margin:0 0 12px}.reference-studio .workflow-filters button{padding:5px 9px;border:1px solid #ffffff12;border-radius:20px;color:#9699a2;font-size:10px}.reference-studio .workflow-filters button.active{background:#fff;color:#111;border-color:#fff}.reference-studio .workflow-grid{grid-template-columns:1fr;gap:8px;padding:0;scrollbar-width:thin}.reference-studio .workflow-card{border-radius:17px;background:#1b1e26;border:1px solid #ffffff0b;min-height:59px}.reference-studio .workflow-card.selected{border-color:#a0a3af}.reference-studio .workflow-select{display:flex;align-items:center;gap:12px;padding:7px 27px 7px 7px;min-height:58px}.reference-studio .workflow-image{width:45px;height:45px;border-radius:11px;flex-shrink:0}.reference-studio .workflow-image img{opacity:1}.reference-studio .workflow-index,.reference-studio .workflow-use,.reference-studio .workflow-copy small{display:none}.reference-studio .workflow-copy{padding:0}.reference-studio .workflow-copy strong{font-size:12px;color:#e8e9ec;font-weight:600}.reference-studio .favorite-button{width:20px;height:25px;top:17px;right:5px;background:none;color:#777}.reference-studio .favorite-button.active{color:#fff}.edge-library{position:absolute;right:0;top:43%;width:25px;height:110px;border:1px solid #ffffff13;background:#080a0ccc;border-radius:20px 0 0 20px;z-index:24;color:#9a9ba1}.edge-library>span{display:none}.reference-studio.library-open .edge-library{right:256px}.reference-studio .library-scrim{display:none}.reference-studio .resultlist{grid-template-columns:1fr;max-width:780px}.reference-studio .result{background:#14161c}.reference-studio .result img{height:auto;max-height:380px}.reference-studio .result p{color:#9fa2ac}
dialog{background:#070707;border-color:#28282b;border-radius:24px;padding:35px;max-width:1400px;width:96vw}dialog .modalhead h2{font-size:34px;color:white;font-weight:700}dialog .eyebrow{color:#777}dialog .plans{gap:24px;padding:0 30px}.plan{background:#0d0d0d;border-radius:24px;padding:30px;border-color:#252525}.plan.recommended{background:#191919;border-color:#4b4b4b}.plan h3{font-size:21px;font-weight:700}.plan .price{font-weight:700}.plan .pill{background:#262626;border-color:#444}.plan .primary{background:white;color:#000}.plan ul{color:#aaa}.plan li:before{color:#64d69a}.modalnote{color:#85858c}.invite-dialog{max-width:570px;margin:auto;padding:20px 5px}.invite-dialog h2{font-size:28px}.invite-dialog p{color:#9c9da5;line-height:1.8;font-size:13px;overflow-wrap:anywhere}.invite-symbol{display:grid;place-items:center;width:46px;height:46px;border-radius:50%;background:#202127}.invite-linkbox{padding:22px;background:#16171b;border:1px solid #333;border-radius:14px;margin:25px 0}.invite-linkbox small{color:#999}.auth{background:radial-gradient(ellipse at center,#18191f,transparent 65%),#050505;padding:40px 20px;min-height:calc(100dvh - 70px)}.authcard{width:min(460px,94vw);background:#101114;border:1px solid #2a2b30;border-radius:24px;padding:36px}.authcard h1{font-weight:700;font-size:28px}.authcard input{background:#191b20;border-color:#36373c;color:white}.authcard .pill{background:#212329;border-color:#36373c}.auth-switch a{color:#fff}.authcard .primary{background:white;color:#111}.ref-shell{background:#060709}.invite-banner{background:#16181e;border-color:#30323a}.stat,.ref-records{background:#111318}.stat strong{color:white}.ref-notice{color:#a2a5af;background:#ffffff06;border-color:#ffffff17}.linkrow input{background:#090b10}.linkrow button{background:white;border-color:white}.tablewrap th{background:#1a1c23;color:#999}.filterbar button.selected{background:#eee;color:#111}.ref-rules li{color:#999}.tag{background:#ffffff07;border-color:#ffffff20;color:#aaa}#toast{background:#f0f0f1;color:#111}
@media(max-width:1350px){.comparison-section{margin:0 5%}.reference-studio.library-open .composer-v2{left:calc((100% - 280px)/2);max-width:calc(100% - 320px)}.reference-studio.library-open .studio-scroll{width:calc(100% - 280px)}}
@media(max-width:900px){.comparison-grid{grid-template-columns:repeat(2,1fr)}.reference-home .hero h1{font-size:55px}.navlinks{gap:16px}.reference-studio .header-pill span{display:none}.reference-studio.library-open .composer-v2{left:50%;max-width:calc(100% - 48px)}.reference-studio.library-open .studio-scroll{width:100%}.reference-studio .library-scrim{display:block;inset:80px 0 0;z-index:21;background:#0005;backdrop-filter:blur(2px)}.reference-studio .workflow-library{z-index:23;top:80px;bottom:30px;border-radius:20px 0 0 20px}.reference-studio .control-popover{bottom:calc(100% + 15px)}.plans{grid-template-columns:repeat(2,1fr)}}
@media(max-width:600px){.nav{height:65px;padding:0 16px}.nav .brand{font-size:13px;gap:7px}.navlinks{gap:10px;font-size:11px}.navlinks .primary{padding:8px 12px}.navlinks>a:not(.primary){display:none}.reference-home .hero{height:calc(100svh - 65px);min-height:520px;padding:0 20px}.reference-home .hero h1{font-size:43px;letter-spacing:-2px;max-width:360px;line-height:1.35}.reference-home .hero p{font-size:14px;margin:8px 0 32px;max-width:290px;line-height:1.8}.light-orbit{width:180%!important;left:-40%!important}.comparison-section{padding:60px 0;margin:0 18px}.comparison-section h2,.inspiration-section h2{font-size:30px}.comparison-section>p,.inspiration-section>p{font-size:12px;margin-bottom:30px}.comparison-grid{grid-template-columns:1fr;gap:18px}.comparison-image{height:260px}.inspiration-track button{width:230px;height:155px}.inspiration-section{padding:30px 0 50px}.reference-studio>header{height:70px;align-items:center;padding:0 15px;gap:8px}.reference-studio header .brand span{display:none}.reference-studio header .actions{gap:6px}.header-pill{padding:10px}.header-pill svg{width:14px;height:14px}.reference-studio .language-switch{padding:10px 8px;font-size:9px}.account-menu summary{height:35px;width:35px;line-height:33px}.reference-studio .studio-scroll{top:70px;height:calc(100% - 250px)}.reference-studio .studio-welcome h1{font-size:56px;letter-spacing:-2px}.reference-studio .composer-v2,.reference-studio.library-open .composer-v2{bottom:16px;width:calc(100% - 24px);max-width:calc(100% - 24px)}.reference-studio .inputbox{grid-template-columns:37px minmax(0,1fr);border-radius:23px;padding:9px;gap:6px}.reference-studio #prompt{height:43px;min-height:43px;font-size:12px;resize:none}.reference-studio .compose-submit{grid-column:2;grid-row:3;justify-content:flex-end}.reference-studio .upload-button{width:35px;height:35px;padding:9px}.reference-studio .generate{font-size:11px;padding:10px;min-width:100px}.reference-studio .compose-controls{margin-bottom:14px;justify-content:center;flex-wrap:nowrap}.reference-studio .control-menu summary{font-size:10px;padding:4px 7px;gap:4px}.reference-studio .media-segment button{font-size:11px;padding:8px}.reference-studio .control-popover{position:fixed;bottom:175px;left:0;right:0;width:auto;transform:none;max-height:55dvh}.reference-studio .composer-foot{font-size:8px}.reference-studio .composer-foot>span:first-child{display:none}.reference-studio .composer-foot{justify-content:center}.reference-studio .workflow-library{top:80px;bottom:25px;width:275px}.reference-studio.library-open .edge-library{right:275px}.reference-studio .project-field>span{display:block}.edge-library{height:80px;width:22px}.reference-studio .library-scrim{top:70px}.authcard{padding:25px}.plans{grid-template-columns:1fr}dialog{padding:30px 18px}dialog .plans{padding:0;gap:15px}.plan{padding:24px}.footer .brand{font-size:14px}.reference-studio .resultlist{padding:15px}}
@media(prefers-reduced-motion:reduce){.inspiration-track>div,.starfield i{animation:none!important}}

.authcard{width:min(460px,100%);min-width:0}.auth{grid-template-columns:minmax(0,1fr)}.authcard .code-row{min-width:0}.authcard .code-row input{min-width:0}.authcard .code-row button{flex-shrink:0}
.auth-tabs{display:flex;gap:4px;padding:4px;background:#f2f2f2;border-radius:12px;margin:24px 0}.auth-tabs button{flex:1;border:0;background:transparent;padding:11px;border-radius:9px;color:#777;cursor:pointer}.auth-tabs button[aria-pressed=true]{background:#fff;color:#111;box-shadow:0 2px 8px #0000000a}.phone-row{display:flex;align-items:center;border:1px solid #ddd;border-radius:10px;margin:8px 0}.phone-row span{padding:0 14px;border-right:1px solid #ddd;color:#555}.authcard .phone-row input{border:0;min-width:0;margin:0;background:transparent}.authcard label{display:block;margin-top:18px}.authcard .code-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px}.authcard .code-row input{min-width:0}.auth-tabs button:focus-visible{outline:2px solid #111;outline-offset:2px}
