#workspace.creation-page{padding:94px 36px 40px}.creation-page>#page-title,.creation-page>#breadcrumb{display:none}#creation-app{max-width:1400px;margin:auto;color:#eee;font-size:14px}#creation-app button,#creation-app select{font:inherit}#creation-app h2{font-size:21px;margin:0;font-weight:600;letter-spacing:-.4px}#creation-app p{line-height:1.6}.home-hero{text-align:center;padding:30px 0 24px;max-width:880px;margin:auto}.home-hero h1{font-size:38px;line-height:1.2;letter-spacing:-1.2px;color:#f5f5f5;font-weight:600}.home-hero>p{color:#aaa;margin:12px 0 27px}.composer{background:#202020;border:1px solid #3c3c3c;border-radius:12px;text-align:left;padding:14px 18px;box-shadow:0 8px 32px #0002}.composer:focus-within{border-color:#8571ba}.mode-tabs{display:flex;gap:7px;margin-bottom:10px}.mode-tabs button,.filter button{padding:8px 14px;border-radius:5px;color:#aaa;font-size:13px}.mode-tabs button[aria-pressed=true],.filter button[aria-pressed=true]{background:#39333f;color:#e9dfff}.mode-tabs button:hover,.filter button:hover{background:#333}.composer textarea{display:block;resize:vertical;min-height:86px;max-height:210px;width:100%;color:#eee;background:none;border:0;padding:10px 0;font:15px/1.6 Inter,sans-serif;outline:0}.composer textarea::placeholder{color:#929292}.composer-bottom{display:flex;gap:8px;align-items:center;flex-wrap:wrap;padding-top:8px}.settings-label{display:flex;align-items:center;gap:6px;color:#bbb;font-size:12px}.composer select{color:#ddd;background:#292929;border:1px solid #444;padding:9px 8px;border-radius:5px;max-width:190px;font-size:12px!important}.small-button{border:1px solid #454545;border-radius:5px;padding:9px 12px;color:#ddd;background:#292929;min-height:38px}.small-button:hover{background:#393939}.submit-button{margin-left:auto;min-height:40px;padding:10px 20px;border-radius:6px;background:linear-gradient(100deg,#793de8,#5250b4);font-weight:600!important;color:white;white-space:nowrap}.submit-button:disabled{opacity:.55;cursor:wait}.examples{display:flex;gap:8px;justify-content:center;flex-wrap:wrap;margin:14px 0 0}.examples button{padding:7px 11px;border-radius:20px;border:1px solid #333;color:#aaa;font-size:12px}.examples button:hover{border-color:#777;color:white}.home-section{margin-top:32px}.section-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:17px;gap:12px}.section-heading p{color:#999;font-size:12px;margin:5px 0 0}.section-heading button{font-size:12px;color:#bbb;padding:8px}.feature-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:10px}.feature{padding:15px 12px;background:#202020;border:1px solid #303030;border-radius:7px;text-align:left;min-height:94px}.feature img{width:25px;height:25px;margin-bottom:12px;display:block}.feature span{font-size:12px;line-height:1.45}.feature:hover{background:#2b2b2b;border-color:#555}.template-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:15px}.template-card{text-align:left;padding:0;min-width:0}.cover{position:relative;overflow:hidden;border-radius:8px;background:#252525;aspect-ratio:4/5}.cover img{width:100%;height:100%;object-fit:cover;transition:transform .25s}.template-card:hover img{transform:scale(1.035)}.cover .badge{position:absolute;top:9px;left:9px;padding:4px 7px;background:#111b;border-radius:4px;font-size:10px;color:white}.cover .use{position:absolute;bottom:12px;right:12px;border-radius:50%;width:30px;height:30px;background:#fff;color:#111;display:grid;place-items:center}.template-card strong{display:block;font-size:13px;font-weight:500;margin:11px 0 4px;overflow-wrap:anywhere}.template-card small{font-size:11px;color:#999}.filter{display:flex;gap:4px;flex-wrap:wrap}.upload-list{display:flex;gap:8px;flex-wrap:wrap}.upload-chip{position:relative;width:64px;height:64px;margin:8px 0}.upload-chip img{width:100%;height:100%;object-fit:cover;border-radius:6px}.upload-chip button{position:absolute;right:-4px;top:-4px;background:#444;border-radius:50%;width:22px;height:22px}.selection-tag{display:inline-flex;align-items:center;gap:9px;background:#393044;border-radius:5px;padding:6px 9px;font-size:12px;margin:4px 5px 4px 0}.inline-error{color:#ffc5c5;margin:8px 0 0!important;font-size:12px}.more-settings{padding:12px 0 0;display:flex;gap:14px;flex-wrap:wrap;border-top:1px solid #333;margin-top:12px}.create-top{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:26px}.create-top .eyebrow{font-size:12px;color:#999;display:block;margin-bottom:6px}.create-top h1{color:white;font-size:25px}.create-top a{font-size:12px;color:#bbb}.create-main{min-height:calc(100dvh - 400px);padding-bottom:30px}.create-empty{text-align:center;padding:60px 16px;color:#aaa}.create-empty h2{color:#eee;margin:14px 0!important}.empty-symbol{font-size:36px;color:#ae92ed}.create-dock{position:sticky;bottom:0;z-index:10;background:linear-gradient(transparent,#111 18%);padding:18px 0 12px;max-width:1000px;margin:auto}.create-dock .composer textarea{min-height:56px}.task{margin:0 auto 24px;max-width:1100px}.task-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 0}.task-heading span{font-size:12px;color:#aaa}.task-description{white-space:pre-wrap;overflow-wrap:anywhere;color:#ccc;font-size:13px;max-height:100px;overflow:auto}.task-meta{font-size:11px;color:#aaa;margin:8px 0 14px}.task-result{display:grid;grid-template-columns:minmax(0,600px) 1fr;gap:22px;align-items:center}.result-media{border:1px solid #333;background:#1b1b1b;border-radius:10px;overflow:hidden;aspect-ratio:16/9;display:grid;place-items:center;position:relative}.result-media img,.result-media video{width:100%;height:100%;object-fit:contain}.result-media audio{max-width:90%}.result-actions{display:flex;gap:8px;flex-wrap:wrap;flex-direction:column;align-items:flex-start}.result-actions p{color:#aaa;font-size:12px;margin:0 0 6px}.progress-state{padding:32px;text-align:center;width:100%}.progress-ring{width:38px;height:38px;border-radius:50%;border:3px solid #444;border-top-color:#b28af4;margin:0 auto 18px;animation:spin 1s linear infinite}.progress-state progress{width:min(280px,100%);height:5px;accent-color:#9b6fe7}.progress-state p{font-size:12px;color:#aaa}.error-state{color:#ffc5c5}.hc-dialog{background:#202020;color:#eee;border:1px solid #444;border-radius:12px;width:min(540px,calc(100vw - 32px));max-height:85dvh;padding:24px;overflow:auto}.hc-dialog::backdrop{background:#000b}.hc-dialog h2{font-size:22px;margin:12px 0}.hc-dialog p{line-height:1.6;color:#bbb;font-size:14px}.hc-dialog img{width:100%;max-height:260px;object-fit:cover;border-radius:7px}.dialog-actions{display:flex;justify-content:flex-end;gap:8px;margin-top:22px;flex-wrap:wrap}.dialog-actions .submit-button{margin-left:0}.dialog-close{float:right;margin:0 0 12px 12px}.audio-cover{background:radial-gradient(ellipse at 30% 30%,#886aa0,#202337 70%);display:grid;place-items:center;color:#e7c9ff;font-size:60px}.hc-enter{animation:hc-in .22s ease-out}#creation-app :focus-visible,.hc-dialog :focus-visible{outline:2px solid #bca0f4;outline-offset:3px}@keyframes spin{to{transform:rotate(360deg)}}@keyframes hc-in{from{opacity:.5;transform:translateY(7px)}to{opacity:1;transform:none}}
@media(min-width:1700px){.home-hero{padding-top:45px;padding-bottom:30px}.template-grid{grid-template-columns:repeat(6,minmax(0,1fr))}}
@media(max-width:1100px){#workspace.creation-page{padding-left:24px;padding-right:24px}.feature-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.template-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.template-grid>.template-card:nth-child(5){display:none}.task-result{grid-template-columns:1fr}.result-actions{flex-direction:row}.result-actions p{width:100%}}
@media(max-width:767px){#workspace.creation-page{padding:85px 16px 20px}.home-hero{padding:16px 0 12px}.home-hero h1{font-size:29px}.home-hero>p{font-size:13px;margin-bottom:22px}.composer{padding:12px;border-radius:9px}.composer textarea{font-size:16px;min-height:95px}.composer-bottom{gap:6px}.composer select{max-width:148px}.submit-button{padding:10px 14px}.feature-grid{gap:8px}.feature{padding:12px 9px;min-height:88px}.feature span{font-size:11px}.template-grid{display:flex;overflow-x:auto;gap:12px;padding-bottom:12px;scroll-snap-type:x proximity}.template-grid>.template-card{flex:0 0 43%;display:block!important;scroll-snap-align:start}.section-heading{align-items:center}#creation-app h2{font-size:18px}.home-section{margin-top:26px}.create-top{margin-bottom:12px}.create-top h1{font-size:22px}.create-empty{padding:35px 8px}.create-dock{padding-bottom:env(safe-area-inset-bottom,10px)}.create-dock:focus-within{position:relative}.task-result{gap:12px}.hc-dialog{padding:18px}.examples button{font-size:11px}.settings-label{font-size:11px}.composer-bottom .submit-button{flex-grow:1}.result-actions .small-button{font-size:12px}}
.image-results{display:flex;width:100%;height:100%;overflow-x:auto;scroll-snap-type:x mandatory}.image-results img{flex:0 0 100%;width:100%;scroll-snap-align:start}.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}
.product-templates{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.product-templates .cover{aspect-ratio:16/9}@media(max-width:767px){.product-templates{display:flex;overflow:auto;padding-bottom:12px}.product-templates>.template-card{flex:0 0 76%}}
.result-media:has(.image-results){aspect-ratio:auto}.image-results{display:grid;grid-template-columns:1fr;overflow:visible}.image-results:has(img:nth-child(2)){grid-template-columns:repeat(2,minmax(0,1fr))}.image-results img{width:100%;aspect-ratio:1;object-fit:cover}
@media(max-width:767px){.section-heading:has(.filter){flex-wrap:wrap}.section-heading .filter{width:100%;margin-top:4px}}

/* Home discovery shares compact gutters; the composer retains its own max width. */
#workspace.creation-page.home-page{padding-inline:20px}
.home-page #creation-app{max-width:none}
.home-page .home-section{--discovery-gap:8px;--discovery-radius:4px}
@media(max-width:767px){#workspace.creation-page.home-page{padding-inline:12px}.home-page .home-section{--discovery-gap:6px}}

/* Single-row tool cards: names above photographic editing vignettes. */
#features.feature-grid{display:flex;flex-wrap:nowrap;gap:var(--discovery-gap);margin-inline:0;overflow-x:auto;overscroll-behavior-x:contain;scroll-snap-type:x proximity;padding:4px 3px 12px;scroll-padding-inline:3px;scrollbar-width:thin;scrollbar-color:#524b60 transparent}
#features .feature{display:flex;flex-direction:column;align-items:stretch;gap:0;flex:0 0 184px;height:208px;min-height:208px;padding:18px 0 0;border-radius:var(--discovery-radius);background:#202020;border:1px solid #ffffff12;overflow:hidden;scroll-snap-align:start;text-align:left}
#features .feature:nth-child(1){flex-basis:250px}#features .feature:nth-child(2){flex-basis:190px}#features .feature:nth-child(4){flex-basis:222px}#features .feature:nth-child(6){flex-basis:208px}
#features .feature:hover{border-color:#ffffff26;background:#292929}
#features .tool-name{display:block;flex:0 0 29px;padding:0 18px;font-size:15px;font-weight:500;line-height:23px;color:#eee;white-space:nowrap}
#features .tool-visual{display:flex;align-items:center;justify-content:center;flex:1;min-height:0;width:100%;overflow:hidden}
#features .tool-visual img{width:96px;height:96px;object-fit:contain;margin:0}
#features .tool-visual-photo{align-items:flex-end}
#features .tool-visual-photo img{display:block;width:100%;height:100%;object-fit:contain;object-position:center bottom;margin:0;transform:scale(1.08);transform-origin:center 65%;mix-blend-mode:lighten}
#features [data-tool-id="T154"] .tool-visual-photo img{object-position:center;transform-origin:center}
#features [data-tool-id="T143"] .tool-visual-photo img{object-position:center;transform-origin:center}
#features [data-tool-id="T67"] .tool-visual-photo img{object-position:center;transform:none}
#features [data-tool-id="T62"] .tool-visual-photo img,#features [data-tool-id="T111"] .tool-visual-photo img{object-position:center;transform-origin:center}
#features .feature:focus-visible{outline:2px solid #bca0f4;outline-offset:1px}
@media(max-width:767px){#features .feature{height:196px;min-height:196px}}

/* Composer review: local brand light, primary model choice, visible reference assets. */
.home-hero{position:relative;isolation:isolate;max-width:940px;padding-top:34px;padding-bottom:28px}
.home-hero::before{content:"";position:absolute;z-index:-1;pointer-events:none;inset:-65px -85px -18px;background:radial-gradient(ellipse at 48% 48%,#6d39ac30 0,transparent 63%),radial-gradient(ellipse at 80% 22%,#aa74d619 0,transparent 43%);filter:blur(16px)}
.home-hero::after{content:"";position:absolute;z-index:-1;pointer-events:none;top:16px;left:17%;width:66%;height:200px;border-top:1px solid #b49ae518;border-radius:50%;transform:rotate(-7deg);mask-image:linear-gradient(90deg,transparent,#000,transparent)}
.home-hero h1{font-size:36px;letter-spacing:-1px}.home-hero>p{color:#aaa4b3;margin-bottom:28px}
.composer{position:relative;background:linear-gradient(145deg,#29262ef2,#1c1b20 52%,#211e29);border:1px solid #665673;border-radius:20px;padding:17px 20px 16px;box-shadow:0 1px 0 #ffffff12 inset,0 20px 60px #0005,0 0 38px #8c49ce0d;transition:border-color .18s,box-shadow .18s}
.composer:focus-within,.composer.drag-over{border-color:#a887d1;box-shadow:0 1px 0 #ffffff15 inset,0 20px 60px #0005,0 0 0 3px #a887d110}
.composer-header{display:flex;justify-content:space-between;align-items:center;gap:16px;padding-bottom:16px;border-bottom:1px solid #ffffff0c}
.composer .mode-tabs{gap:3px;margin:0;padding:4px;background:#1312168c;border:1px solid #ffffff08;border-radius:11px}
.composer .mode-tabs button{border-radius:7px;padding:8px 16px;font-size:14px;color:#aaa3b4}.composer .mode-tabs button[aria-pressed=true]{background:#49375e;color:#f4eaff;box-shadow:0 1px 4px #0003}
.model-trigger{display:flex;align-items:center;gap:10px;min-width:185px;background:#ffffff06;border:1px solid #7b668c75;border-radius:11px;padding:8px 11px;text-align:left;color:#f3edf9}.model-trigger:hover{background:#51415d66;border-color:#b094ca}.model-trigger small{display:block;font-size:10px;color:#b4a8bf;line-height:1.4}.model-trigger strong{display:block;font-size:14px;font-weight:600;line-height:1.5}.model-mark{display:grid;place-items:center;flex:0 0 30px;width:30px;height:30px;border-radius:9px;background:linear-gradient(145deg,#9876ca,#4b326b);color:#fff;font-size:16px;font-weight:600;box-shadow:0 1px 0 #fff3 inset}.model-chevron{margin-left:auto;color:#baabc6}
.composer-content{display:grid;grid-template-columns:178px minmax(0,1fr);gap:22px;padding:18px 0 8px}.composer-content:has(.reference-item){grid-template-columns:1fr;gap:5px}.composer-content:not(:has(.reference-area)){grid-template-columns:1fr}.composer textarea{font-size:16px;min-height:128px;padding:8px 0;resize:vertical;line-height:1.7}.composer textarea::placeholder{color:#b0a8b9}.reference-heading{display:flex;justify-content:space-between;align-items:center;color:#c8bdd2;font-size:11px;margin-bottom:9px}.reference-heading small{font-size:10px;color:#9d92a7;margin-left:5px}.reference-strip{display:flex;gap:10px;flex-wrap:wrap}.reference-add{display:flex;align-items:center;justify-content:center;flex-direction:column;gap:7px;width:96px;min-height:98px;border:1px dashed #82718b;border-radius:11px;background:#ffffff03;color:#d0c3df}.reference-add.reference-empty{width:100%;min-height:106px}.reference-add svg{width:25px;height:25px;color:#baa1d5}.reference-add span{font-size:12px}.reference-add small{font-size:10px;color:#a99bb6}.reference-add:hover{background:#9a73cd14;border-color:#c1a2de}.reference-note{font-size:10px;color:#a99db4;line-height:1.5!important;margin:8px 0 0;overflow-wrap:anywhere}.reference-item{position:relative;width:100px;padding-bottom:21px}.reference-preview{display:block;position:relative;width:100px;height:86px;padding:5px;border-radius:10px;overflow:hidden;background:#121115;border:1px solid #64576c}.reference-preview img{width:100%;height:100%;object-fit:contain}.reference-preview span{position:absolute;bottom:4px;left:4px;border-radius:4px;background:#16121edb;color:#eee2ff;font-size:9px;padding:3px 5px}.reference-remove{position:absolute;right:-5px;top:-6px;width:23px;height:23px;border-radius:50%;background:#45404e;border:2px solid #27242d;color:white;z-index:1}.reference-replace{position:absolute;bottom:0;left:0;padding:3px 0;color:#c9b8db;font-size:10px!important}.reference-item.incompatible .reference-preview{border-color:#e3aa77}.reference-item.incompatible .reference-preview span{background:#4f3525;color:#ffdebe}.reference-full{object-fit:contain!important;max-height:60dvh!important;background:#151319}.reference-filename{overflow-wrap:anywhere;font-size:12px!important}
.composer-bottom{padding-top:13px;border-top:1px solid #ffffff0d;gap:10px}.parameter{display:flex;align-items:center;gap:5px;color:#a99bb6;font-size:11px;padding-left:10px;border:1px solid #ffffff0c;background:#ffffff04;border-radius:8px}.composer .parameter select{border:0;background:transparent;max-width:130px;padding:8px 6px;color:#e3dae9;font-size:12px!important}.composer select option{background:#27232e;color:#eee}.more-trigger{font-size:12px!important;color:#b8a9c7;padding:9px 7px}.more-trigger span{margin-left:4px}.composer .submit-button{border-radius:10px;padding:11px 20px;background:linear-gradient(110deg,#8b4dea,#6b48c4);box-shadow:0 1px 0 #ffffff25 inset;min-height:42px;font-size:13px!important}.submit-button span{margin-left:14px}.composer .submit-button:hover:not(:disabled){filter:brightness(1.12)}
.model-options{display:grid;gap:10px;clear:both}.model-option{display:flex;align-items:center;gap:12px;text-align:left;color:#eee;background:#28242e;border:1px solid #443b4b;border-radius:12px;padding:15px;width:100%}.model-option[aria-pressed=true]{border-color:#ad84d6;background:#3b2d4b}.model-option:hover{background:#403249}.model-option>span:nth-child(2){min-width:0}.model-option strong{display:block;font-size:15px}.model-option small{display:block;color:#c3b5ce;font-size:12px;line-height:1.6;margin-top:5px}.model-tags{display:block;font-size:10px;color:#b6a7c2;line-height:1.7;margin-top:7px}.model-check{margin-left:auto;color:#d5b5f5}.hc-dialog{border-radius:18px;background:#211d27;border-color:#665471}.create-dock .composer{box-shadow:0 -5px 30px #0004}.create-dock .composer-content{padding-top:12px}.create-dock .composer textarea{min-height:90px}
@media(max-width:1100px){.home-hero::before{inset:-40px -20px 0}.composer-content{grid-template-columns:160px minmax(0,1fr);gap:16px}}
@media(max-width:767px){.home-hero{padding:20px 0 18px}.home-hero h1{font-size:27px}.home-hero::before{inset:-35px 0 0}.composer{padding:12px;border-radius:16px}.composer-header{gap:10px;flex-wrap:wrap;padding-bottom:12px}.composer .mode-tabs button{padding:7px 12px}.model-trigger{min-width:0;flex:1;max-width:100%;padding:7px 9px;gap:7px}.model-trigger .model-mark{width:25px;height:25px;flex-basis:25px;font-size:13px}.model-trigger strong{font-size:12px}.model-trigger small{font-size:9px}.composer-content{grid-template-columns:1fr;gap:8px;padding-top:12px}.reference-add.reference-empty{min-height:66px;display:grid;grid-template-columns:25px 1fr;gap:4px 10px;justify-content:start;text-align:left;padding:12px}.reference-add.reference-empty svg{grid-row:span 2}.reference-heading{margin-bottom:7px}.composer textarea{min-height:95px;font-size:16px}.composer-bottom{gap:7px}.parameter{padding-left:6px;font-size:10px;gap:2px}.composer .parameter select{padding:8px 3px;font-size:11px!important}.more-trigger{padding:8px 4px}.composer .submit-button{flex-grow:0;min-height:40px;padding:10px 14px;margin-left:auto}.submit-button span{margin-left:6px}.reference-item,.reference-preview{width:85px}.reference-add{width:85px;min-height:86px}.reference-strip{gap:9px}.create-dock{position:relative}.model-option{padding:12px;gap:9px}}
@media(max-width:420px){.model-trigger{flex-basis:100%}.composer-bottom .submit-button{width:100%;margin-top:3px}.home-hero h1{font-size:26px}}
@media(prefers-reduced-motion:reduce){.composer,.hc-enter,.cover img{animation:none;transition:none}}

@media(max-width:420px){.reference-item,.reference-preview{width:74px}.reference-add{width:74px;min-height:86px}.reference-add.reference-empty{width:100%;min-height:66px}.reference-strip{gap:9px}}
/* Expanded references must not cover the task result above the shared composer. */
.create-dock{position:relative}

/* Explore uses the live site's Recommended / Latest masonry artwork feed. */
.explore-filter{display:flex;gap:12px;margin-bottom:12px}.explore-filter button{padding:8px 16px;border-radius:4px;font-size:14px;font-weight:500;color:#b9b9c2}.explore-filter button[aria-pressed=true]{background:#404040;color:white}.explore-filter button:hover{background:#ffffff1f}
.explore-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}.explore-column{display:flex;flex-direction:column;gap:8px;min-width:0}.explore-card{position:relative;overflow:hidden;border-radius:4px;background:#242424;isolation:isolate}.explore-open{display:block;width:100%;height:100%;padding:0}.explore-open img{display:block;width:100%;height:100%;object-fit:contain}.explore-actions{position:absolute;bottom:0;left:0;right:0;display:flex;align-items:end;justify-content:space-between;padding:12px;gap:6px;background:linear-gradient(transparent,#0008);pointer-events:none;opacity:0;transition:opacity .15s}.explore-actions>*{pointer-events:auto}.explore-card:hover .explore-actions,.explore-card:focus-within .explore-actions{opacity:1}.explore-remix{padding:7px 10px;border-radius:4px;background:#ffffff33;color:white;font-size:12px;backdrop-filter:blur(10px)}.explore-like{margin-left:auto;display:flex;align-items:center;gap:4px;color:white;font-size:13px;padding:4px;border-radius:4px}.explore-like svg{width:16px;height:16px}.explore-like[aria-pressed=true] svg{fill:#bca0f4;stroke:#bca0f4}.explore-like:hover{background:#ffffff20}.explore-open:focus-visible{outline-offset:-3px!important}.explore-dialog{width:min(1000px,calc(100vw - 32px));border-radius:8px}.explore-detail{clear:both;display:grid;grid-template-columns:minmax(0,1.2fr) minmax(0,1fr);gap:24px}.explore-detail video{width:100%;max-height:65dvh;background:#111;display:block}.explore-info{min-width:0}.explore-prompt{max-height:42dvh;overflow:auto;white-space:pre-wrap;overflow-wrap:anywhere}.explore-detail-remix{display:inline-block;margin-top:16px}.explore-playback-error{color:#ffc5c5!important}.explore-info h3{font-size:13px}
@media(max-width:1099px){.explore-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:767px){.explore-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.explore-actions{opacity:1;padding:7px;flex-wrap:wrap}.explore-remix{font-size:10px;padding:5px 6px}.explore-like{font-size:11px}.explore-detail{grid-template-columns:1fr;gap:12px}.explore-detail video{max-height:45dvh}.explore-prompt{max-height:25dvh}}
@media(hover:none){.explore-actions{opacity:1}}
@media(prefers-reduced-motion:reduce){.explore-actions{transition:none}}

/* Home discovery: curated template cards and an open artwork gallery. */
.templates-section{margin-top:32px}
.templates-section .section-heading,.explore-section .section-heading{margin-bottom:20px;align-items:center}
#creation-app .templates-section h2,#creation-app .explore-section h2{font-size:22px;line-height:1.4;letter-spacing:0}
.templates-section .section-heading>a,.explore-section .section-heading>a{font-size:13px;font-weight:400;color:#aaa;line-height:24px;padding:6px 0 6px 12px;transition:color .18s}
.templates-section .section-heading>a:hover,.explore-section .section-heading>a:hover{color:#eee}
/* Edge-to-edge posters: the work itself carries the template, without a card shell. */
#templates.template-grid{display:flex;gap:var(--discovery-gap);margin-inline:0;overflow-x:auto;padding:3px 3px 12px;scroll-padding-inline:3px;scroll-snap-type:x proximity;scrollbar-width:thin;scrollbar-color:#393939 transparent}
#templates>.template-card{position:relative;isolation:isolate;display:block!important;flex:0 0 260px;width:260px;height:260px;aspect-ratio:1;scroll-snap-align:start;align-self:stretch;background:#202020;border:0;border-radius:var(--discovery-radius);padding:0;overflow:hidden;text-align:left}
#templates .cover{position:absolute;inset:0;width:100%;height:100%;aspect-ratio:auto;border-radius:0;background:#202020}
#templates .cover img{width:100%;height:100%;object-fit:cover;transform:none;transition:transform .3s ease-out}
#templates>.template-card::after{content:"";position:absolute;inset:40% 0 0;background:linear-gradient(transparent,#0001 25%,#000b);pointer-events:none;z-index:1}
#templates .template-card strong{position:absolute;bottom:0;left:0;right:0;display:block;z-index:2;font-size:17px;font-weight:500;line-height:1.5;letter-spacing:.1px;color:#fff;margin:0;padding:26px 20px 20px;white-space:normal;overflow-wrap:anywhere;text-shadow:0 1px 12px #0005}
#templates>.template-card:hover .cover img{transform:scale(1.035)}
#creation-app #templates>.template-card:focus-visible{outline:2px solid #ddd;outline-offset:2px}
.explore-section{margin-top:32px;padding-top:8px;border-top:0;padding-bottom:12px}
.explore-section .explore-grid,.explore-section .explore-column{gap:var(--discovery-gap)}
.explore-section .explore-card{border-radius:var(--discovery-radius);background:#1b1b1d}
.explore-section .explore-card::after{content:"";position:absolute;inset:0;border:1px solid #ffffff14;border-radius:inherit;pointer-events:none;transition:border-color .18s}

.explore-section .explore-actions{padding:32px 12px 12px;background:linear-gradient(transparent,#000a)}
.explore-section .explore-remix{font-size:12px;line-height:20px;padding:7px 12px;border:1px solid #ffffff26;background:#18181ccc;border-radius:6px}
.explore-section .explore-remix:hover{background:#343038}
.explore-section .explore-like{min-height:36px;padding:6px 8px;font-size:12px;font-variant-numeric:tabular-nums;border-radius:6px;background:#18181c99}
@media(max-width:767px){
 .templates-section{margin-top:24px}
 #creation-app .templates-section h2,#creation-app .explore-section h2{font-size:19px}
 .templates-section .section-heading,.explore-section .section-heading{margin-bottom:14px}
 .templates-section .section-heading>a,.explore-section .section-heading>a{font-size:12px}
 #templates .template-card strong{font-size:16px;padding:24px 16px 18px}
 .explore-section{margin-top:24px;padding-top:8px}
 .explore-section .explore-actions{padding:24px 8px 8px;gap:4px}
 .explore-section .explore-remix{padding:6px 8px;font-size:11px}
 .explore-section .explore-like{padding:6px;font-size:11px}
}
@media(prefers-reduced-motion:reduce){
 #templates .cover img,#templates>.template-card,.explore-section .explore-card::after,.templates-section .section-heading>a,.explore-section .section-heading>a{transition:none}
 #templates .template-card:hover img{transform:none}
}

/* Visible templates autoplay silently; the still cover remains the loading/error fallback. */
#templates .cover video{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;opacity:0;pointer-events:none}
#templates .is-playing .cover video{opacity:1}
.hc-dialog .template-preview{display:block;width:100%;max-height:52dvh;object-fit:contain;background:#111;border-radius:4px}
@media(prefers-reduced-motion:reduce){#templates .cover img{transition:none}#templates>.template-card:hover .cover img{transform:none}}

/* All tools is a destination at the end of the horizontal tool row. */
#features .feature-more{flex:0 0 112px;min-height:208px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:14px;scroll-snap-align:end;border:1px solid #ffffff12;border-radius:var(--discovery-radius);background:#202020;color:#c7c7cd;font-size:14px;text-decoration:none}
#features .feature-more svg{width:24px;height:24px;color:#99959f}
#features .feature-more:hover{background:#292929;border-color:#ffffff26;color:#fff}
#features .feature-more:hover svg{color:#ddd}
#creation-app #features .feature-more:focus-visible{outline:2px solid #bca0f4;outline-offset:1px}
@media(max-width:767px){#features .feature-more{flex-basis:104px;min-height:196px}}

/* The model promotion stays outside the horizontal tools scroller. */
.tools-section{display:grid;grid-template-columns:368px minmax(0,1fr);gap:12px;align-items:start}
.model-promo{position:relative;display:grid;place-items:center;height:208px;margin-top:4px;overflow:hidden;border:1px solid #ffffff12;border-radius:4px;background:#10151d;color:#111;text-decoration:none}
.model-promo-art{display:block;position:relative;width:100%;aspect-ratio:830/469;overflow:hidden}
.model-promo-art>img{position:absolute;display:block;width:322.17%;max-width:none;height:auto;left:-7.59%;top:-13.43%}
.model-promo-cta{position:absolute;right:12px;bottom:12px;display:flex;align-items:center;gap:6px;padding:7px 10px;border-radius:4px;background:#fff;font-size:12px;font-weight:600;box-shadow:0 2px 8px #0004}
.model-promo-cta svg{width:14px;height:14px}
.model-promo .model-promo-cta{color:#111;transition:background-color .15s ease}
.model-promo:hover .model-promo-cta,.model-promo:focus-visible .model-promo-cta{background:#e8e8e8;color:#111}
.model-promo:active .model-promo-cta{background:#d8d8d8;color:#111}
.tools-section #features{min-width:0}
@media(min-width:768px) and (max-width:1100px){.tools-section{grid-template-columns:300px minmax(0,1fr)}}
@media(max-width:767px){.tools-section{grid-template-columns:minmax(0,1fr);gap:8px}.model-promo{width:100%;height:auto;aspect-ratio:460/260;margin-top:0}}

/* Edge fades indicate clipped tools without intercepting card interactions. */
.feature-scroll-shell{position:relative;min-width:0;overflow:hidden}
.feature-scroll-shell::before,.feature-scroll-shell::after{content:"";position:absolute;top:4px;bottom:12px;width:48px;z-index:2;pointer-events:none;opacity:0;transition:opacity 140ms ease}
.feature-scroll-shell::before{left:0;background:linear-gradient(to right,rgba(17,17,17,.6),rgba(17,17,17,.34) 30%,rgba(17,17,17,.12) 65%,rgba(17,17,17,0))}
.feature-scroll-shell::after{right:0;background:linear-gradient(to left,rgba(17,17,17,.6),rgba(17,17,17,.34) 30%,rgba(17,17,17,.12) 65%,rgba(17,17,17,0))}
.feature-scroll-shell.has-left-overflow::before,.feature-scroll-shell.has-right-overflow::after{opacity:1}
@media(max-width:767px){.feature-scroll-shell::before,.feature-scroll-shell::after{width:36px}}
@media(prefers-reduced-motion:reduce){.feature-scroll-shell::before,.feature-scroll-shell::after{transition:none}}

/* Home-only shortcuts stay beneath the original composer when the dock floats. */
#home-shortcuts{margin:12px auto 0;max-width:1100px;text-align:left}
.home-shortcut-row{display:flex;align-items:center;justify-content:safe center;gap:8px;flex-wrap:nowrap;overflow-x:auto;padding:4px 2px 6px;scrollbar-width:none}
.home-shortcut-row::-webkit-scrollbar{display:none}
.home-shortcut-row button{flex:none;white-space:nowrap;display:flex;align-items:center;justify-content:space-between;gap:18px;min-height:34px;padding:7px 12px;border:1px solid #ffffff14;border-radius:4px;background:#ffffff03;color:#bcbcc3;font-family:inherit;font-size:12px;line-height:1.4;cursor:pointer}
.home-shortcut-row button span{color:#74747f;font-size:13px}
.home-shortcut-row button:hover{background:#ffffff08;border-color:#ffffff30;color:#eee}
.home-shortcut-row button[aria-pressed=true]{border-color:#a38bc25c;background:#a38bc20d;color:#e5ddec}
.home-shortcut-row button:focus-visible{outline:2px solid #bba3e5;outline-offset:3px}
@media(max-width:767px){
 #home-shortcuts{margin-top:10px}
 .home-shortcut-row{flex-wrap:nowrap;overflow-x:auto;padding:3px 1px 5px;scrollbar-width:none}
 .home-shortcut-row::-webkit-scrollbar{display:none}
 .home-shortcut-row button{flex:none;white-space:nowrap;gap:12px}
}

/* Cards display content; detail interactions are not part of this prototype. */
article.template-card,.explore-open{cursor:default}

/* Creation history uses the available width with the existing reference gutters. */
#creation-app:has(.create-dock){max-width:none}

/* Homepage use-case studios: styles scoped to the new section. */
.studio-section[hidden]{display:none}
.studio-section .section-heading{margin-bottom:12px}
#creation-app .studio-section h2{font-size:24px;line-height:1.2;letter-spacing:-.4px}
.studio-hide{display:flex;align-items:center;gap:6px;border-radius:4px;white-space:nowrap}
.studio-hide svg{width:16px;height:16px}
.studio-hide:hover{color:#fff;background:#262626}
.studio-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.studio-card{position:relative;display:block;isolation:isolate;overflow:hidden;min-width:0;aspect-ratio:1.46;border:1px solid #505050;border-radius:7px;padding:0;text-align:left;color:#fff;background:#191919}
.studio-art{position:absolute;inset:0;z-index:-2;background-image:url('assets/studios/studio-art.webp');background-size:300% auto;background-repeat:no-repeat}
.studio-card-0 .studio-art{background-position:left 38%}
.studio-card-1 .studio-art{background-position:center 38%}
.studio-card-2 .studio-art{background-position:right 38%}
.studio-card::after{content:'';position:absolute;inset:0;z-index:-1;background:linear-gradient(180deg,transparent 36%,#0003 55%,#0b0b0bec 100%)}
.studio-copy{position:absolute;bottom:12px;left:15px;right:14px;display:flex;flex-direction:column;align-items:flex-start}
.studio-copy strong{font-size:24px;line-height:1.15;letter-spacing:-.5px;font-weight:650}
.studio-copy>span{font-size:14px;line-height:1.4;margin-top:3px;padding-right:42px}
.studio-arrow{position:absolute;bottom:12px;right:14px;display:grid;place-items:center;width:34px;height:34px;border:1px solid #b5b5b5;border-radius:50%;background:#ffffff0a}
.studio-arrow svg{width:21px;height:21px}
.studio-card:hover{border-color:#aaa}
.studio-card:hover .studio-arrow{background:#ffffff24}
@media(max-width:1279px){.studio-grid{display:flex;overflow-x:auto;scroll-snap-type:x proximity;gap:12px;padding:4px;margin:-4px;scrollbar-width:none}.studio-grid::-webkit-scrollbar{display:none}.studio-card{flex:0 0 340px;scroll-snap-align:start}}
@media(max-width:767px){.studio-card{flex-basis:310px}.studio-section .section-heading{gap:8px}.studio-section .section-heading h2{font-size:18px!important}.studio-copy strong{font-size:22px}.studio-copy>span{font-size:13px}.studio-hide{padding:8px 4px!important}}
@media(max-width:359px){.studio-section .section-heading h2{font-size:16px!important}.studio-card{flex-basis:280px}}
