:root{color-scheme:dark;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;background:#131313;color:#f5f5f5;--surface: #232323;--line: #333;--muted: #a5a5a5;--accent: #8e58f7;--tab-height: 59px;--safe-top: env(safe-area-inset-top, 0px);--header-height: 52px;--safe-bottom: env(safe-area-inset-bottom, 0px);--gutter: 15px;--feed-width: 984px;--form-width: 492px;font-synthesis:none;-webkit-font-smoothing:antialiased}*{box-sizing:border-box}body{margin:0;min-width:300px}button,input,select,textarea{font:inherit}button{color:inherit;cursor:pointer;-webkit-tap-highlight-color:transparent}button:disabled{cursor:default}button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible,summary:focus-visible{outline:2px solid #b797ff;outline-offset:2px}img,video{display:block;max-width:100%}svg{flex-shrink:0}h1,h2,p,fieldset{margin:0}fieldset{min-width:0;border:0;padding:0}.app-shell{min-height:100dvh}.tab-screen{padding-bottom:calc(var(--tab-height) + var(--safe-bottom) + 14px)}.main-content{margin-inline:auto;max-width:var(--feed-width);padding:12px var(--gutter) 18px}.narrow{width:min(100%,var(--form-width));margin-inline:auto}.topbar{position:sticky;top:0;z-index:10;background:#131313;padding-top:var(--safe-top)}.topbar.over-feature{background:transparent;margin-bottom:calc(-1 * (var(--header-height) + var(--safe-top)))}.topbar-inner{position:relative;min-height:var(--header-height);max-width:var(--feed-width);margin-inline:auto;padding-inline:var(--gutter);display:grid;grid-template-columns:1fr auto 1fr;align-items:center}.topbar.over-feature.scrolled{background:#131313}.topbar.over-feature .topbar-inner{display:flex;justify-content:space-between}.topbar h1{grid-column:2;font-size:16px;font-weight:640;text-align:center}.topbar-actions{grid-column:3;display:flex;align-items:center;justify-content:flex-end;gap:7px}.wordmark,.library-button,.circle-button{display:inline-flex;align-items:center;justify-content:center;border:0}.wordmark{gap:7px;padding:0;background:none;font-size:18px;font-weight:720}.wordmark img{width:26px;height:26px;border-radius:50%}.library-button{gap:6px;border-radius:99px;background:#2b1b50;padding:7px 10px;font-size:12px;white-space:nowrap}.circle-button{width:36px;height:36px;border-radius:50%;background:#242424;padding:0}.back-button{justify-self:start;background:transparent;margin-left:-7px}.settings-button{width:32px;height:32px;background:#242424}.over-feature .settings-button{background:#201831}.home{max-width:var(--feed-width);margin-inline:auto}.feature{position:relative;height:clamp(267px,72vw,335px);overflow:hidden;background:#292725;touch-action:pan-y}.feature>img{width:100%;height:100%;object-fit:cover}.feature-shade{position:absolute;top:0;right:0;bottom:0;left:0;pointer-events:none;background:linear-gradient(to bottom,#000a 0,#0005 18%,transparent 39%,#0001 51%,#000b 86%,#131313 100%)}.feature-caption{position:absolute;inset:auto var(--gutter) 29px;display:grid;justify-items:center;gap:8px}.feature h1{font-size:clamp(21px,5vw,27px);font-weight:680;letter-spacing:-.02em;text-align:center;text-shadow:0 1px 5px #0009}.try-button{min-height:32px;border:1px solid #fff4;border-radius:99px;padding:5px 14px;background:#141414bc;font-size:13px;font-weight:580}.try-button:hover{background:#333}.feature-arrow{display:none;position:absolute;top:48%;width:36px;height:36px;place-items:center;background:#111a;border:0;border-radius:50%}.feature-arrow.prev{left:16px}.feature-arrow.next{right:16px}.feature-dots{display:flex;justify-content:center;position:absolute;inset:auto 0 3px}.feature-dots button{position:relative;border:0;background:transparent;width:13px;height:21px;padding:0}.feature-dots button:after{content:"";display:block;width:5px;height:5px;margin:auto;border-radius:50%;background:#aaa}.feature-dots button[aria-pressed=true]:after{background:#fff}.effect-row{margin-top:17px}.row-heading{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:0 var(--gutter) 11px}.row-heading h2{font-size:17px;letter-spacing:-.02em;font-weight:690}.row-link{display:inline-flex;align-items:center;gap:3px;padding:5px 11px;border:1px solid var(--line);border-radius:99px;background:transparent;font-size:12px;white-space:nowrap}.row-link.filled{background:#fff;color:#141414;border-color:#fff;font-weight:610}.effect-rail{display:grid;grid-auto-flow:column;grid-auto-columns:calc((100% - 22px)/3.2);gap:10px;overflow:auto;padding-inline:var(--gutter);scrollbar-width:none;scroll-snap-type:x proximity;scroll-padding-inline:var(--gutter)}.effect-rail::-webkit-scrollbar{display:none}.photo-rail{grid-auto-columns:calc((100% - 20px) / 3)}.style-card,.video-card{min-width:0;padding:0;background:transparent;border:0;text-align:left;scroll-snap-align:start}.style-title,.style-card small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.style-title{margin:6px 2px 2px;font-size:13px;font-weight:650}.style-card small{margin-inline:2px;color:var(--muted);font-size:11px}.video-card{position:relative;aspect-ratio:3 / 4;border-radius:9px;overflow:hidden;background:var(--surface)}.video-card img{width:100%;height:100%;object-fit:cover}.video-title{position:absolute;inset:auto 0 0;padding:18px 5px 7px;background:linear-gradient(transparent,#000b);font-weight:660;font-size:12px;text-align:center}.tabbar,.action-dock{position:fixed;z-index:12;inset:auto 0 0;background:#131313;border-top:1px solid #252525}.tabbar{padding-bottom:var(--safe-bottom)}.tabbar>div{width:min(100%,600px);margin:auto;display:grid;grid-template-columns:repeat(4,1fr);height:var(--tab-height)}.tabbar button{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;border:0;padding:0;background:none;color:#a2a2a2;font-size:11px;line-height:1}.tabbar button[aria-current=page]{color:#fff}.tabbar button[aria-current=page] svg{color:var(--accent);fill:#8e58f73b}.action-dock{padding:12px var(--gutter) calc(12px + var(--safe-bottom))}.action-dock.with-tabs{z-index:11;bottom:calc(var(--tab-height) + var(--safe-bottom));padding-bottom:12px}.action-dock>*{width:min(100%,var(--form-width));margin-inline:auto}.filter-pills{display:flex;gap:7px;overflow-x:auto;scrollbar-width:none}.filter-pills button,.suggestions button{border-radius:99px;border:1px solid transparent;padding:9px 12px;background:#2b2b2b;font-size:13px;font-weight:570;white-space:nowrap}.filter-pills button[aria-pressed=true]{background:#fff;color:#151515}.discover-tools{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:14px}.discover-tools .circle-button{flex-shrink:0}.search-input{margin-bottom:12px}.discover-grid,.creation-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.discover-card,.creation-card{position:relative;background:var(--surface);border-radius:11px;overflow:hidden}.discover-open,.creation-card{width:100%;display:block;padding:0;border:0;background:var(--surface);aspect-ratio:2 / 3}.discover-open img,.creation-card img{width:100%;height:100%;object-fit:cover}.discover-open span,.creation-card span{position:absolute;inset:auto 0 0;padding:24px 9px 9px;background:linear-gradient(transparent,#000b);font-size:13px;font-weight:650;text-align:left}.favorite-button{position:absolute;top:8px;right:8px;display:grid;place-items:center;width:32px;height:32px;padding:0;border-radius:50%;border:1px solid #ffffff30;background:#0006}.favorite-button[aria-pressed=true] svg{fill:#fff}.preview-tags{display:flex;flex-wrap:wrap;justify-content:center;gap:7px;margin-bottom:17px}.preview-tags span{border-radius:99px;background:#222;border:1px solid #333;padding:5px 10px;font-size:12px;color:#c4c4c4}.effect-preview{padding-bottom:75px}.effect-preview h2{margin-bottom:14px;font-size:17px}.preview-art{background:var(--surface);border-radius:12px;overflow:hidden}.preview-art img{width:100%;height:min(56vh,535px);object-fit:cover}.button{display:flex;align-items:center;justify-content:center;gap:8px;min-height:49px;border-radius:99px;border:0;padding:9px 19px;font-size:15px;font-weight:680}.button.primary{color:#fff;background:linear-gradient(105deg,#7412ce,#436f9f)}.button.white{color:#171717;background:#fff}.button:disabled{color:#8e8e8e;background:#383838}.button.compact{min-height:38px;width:fit-content;margin-inline:auto;font-size:13px}.button:not(:disabled):hover{filter:brightness(1.1)}.plain-button{display:inline-flex;align-items:center;gap:7px;min-height:32px;padding:2px 6px;background:none;border:0;font-size:13px;color:#d7d7d7;text-decoration:underline;text-underline-offset:3px}.studio,.edit-landing,.result{padding-bottom:76px}.segmented{display:flex;border-radius:99px;background:#383838;padding:3px;margin-bottom:17px}.segmented button{flex:1;min-height:35px;padding:3px 9px;border:0;border-radius:99px;background:none;font-size:13px;color:#b2b2b2}.segmented button[aria-pressed=true]{background:#fff;color:#151515;font-weight:650}.upload-box{position:relative;border:1px solid var(--line);background:var(--surface);border-radius:16px;overflow:hidden}.upload-box.dragging{border-color:var(--accent);background:#282039}.upload-trigger{position:relative;width:100%;min-height:180px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;border:0;background:none;padding:18px}.detail-screen .upload-trigger{min-height:clamp(225px,64vw,305px)}.upload-plus{width:55px;height:55px;display:grid;place-items:center;border-radius:50%;background:#393939;margin-bottom:5px}.upload-trigger strong{font-weight:650;font-size:15px}.upload-trigger small{color:var(--muted);font-size:12px}.upload-camera{position:absolute;top:13px;right:15px}.upload-box.has-source img{width:100%;height:clamp(180px,52vw,290px);object-fit:contain;background:#1b1b1b}.source-actions{position:absolute;inset:auto 10px 10px;display:flex;align-items:center;justify-content:space-between}.sample-line{text-align:center;padding-top:3px}.prompt-box{display:grid;gap:6px;margin-top:15px;padding:12px;border:1px solid var(--line);border-radius:16px}.prompt-box>span,.prompt-box small{font-size:12px;color:var(--muted)}.prompt-box textarea{width:100%;min-height:68px;resize:vertical;color:#f1f1f1;border:0;background:transparent;padding:4px 0}.prompt-box small{text-align:right}.suggestions{margin-top:16px}.suggestions h2{margin-bottom:8px;font-size:14px;font-weight:620}.suggestions>div{display:flex;gap:6px;flex-wrap:wrap}.suggestions button{display:inline-flex;align-items:center;gap:4px;background:none;border-color:var(--line);padding:6px 10px;font-size:12px}.suggestions button[aria-pressed=true]{background:#303030;border-color:#555}.advanced{margin-top:17px;border-block:1px solid #2d2d2d}.advanced summary{display:flex;align-items:center;gap:8px;min-height:42px;cursor:pointer;font-size:14px;list-style:none}.advanced summary::-webkit-details-marker{display:none}.advanced summary svg:last-child{margin-left:auto}.advanced[open] summary svg:last-child{rotate:180deg}.advanced-options,.provider-controls{display:grid;gap:14px;padding:10px 0 13px}.advanced-options legend{margin-bottom:8px;font-size:13px}.field-label{display:grid;gap:7px;font-size:13px}.input,.settings-row select{width:100%;padding:10px 11px;color:#f1f1f1;background:#242424;border:1px solid var(--line);border-radius:10px}.check-row{display:flex;align-items:center;gap:8px;font-size:13px}.provider-controls small{color:var(--muted)}.generation-progress{min-height:49px;display:grid;align-content:center;gap:6px;color:#ddd;font-size:13px}.generation-progress progress{width:100%;accent-color:var(--accent);height:8px}.error{margin:12px 0;color:#ffb5b5;font-size:13px}.edit-landing{text-align:center}.edit-landing>img{width:min(80%,300px);margin:16px auto 15px;aspect-ratio:3 / 4;object-fit:cover;border-radius:16px}.edit-landing h2{font-size:23px}.edit-landing p{margin:9px auto;color:var(--muted);max-width:260px;font-size:14px;line-height:1.45}.edit-links{display:flex;justify-content:center;gap:8px}.gallery .filter-pills{justify-content:center;margin-bottom:19px}.empty{padding:42px 10px;display:grid;justify-items:center;text-align:center;gap:9px;color:var(--muted)}.empty h2{color:#fff;font-size:17px}.empty p{font-size:14px;margin-bottom:9px}.gallery-empty{padding-top:17px}.empty-art{display:flex;justify-content:center;align-items:center;margin:0 auto 31px;width:min(100%,310px);height:205px}.empty-art span{display:grid;place-items:center;width:33%;height:78%;border:1px dashed #343434;border-radius:10px;background:#191919;color:#393939}.empty-art span:nth-child(2){height:100%;z-index:1;margin-inline:-8px}.empty-art svg{width:39px;height:39px;stroke-width:3}.creation-card>svg{margin:auto}.result-art{display:grid;place-items:center;overflow:hidden;background:#1d1d1d;border-radius:13px}.result-art img,.result-art video{max-height:57dvh;object-fit:contain;width:100%}.result-caption{color:var(--muted);text-align:center;font-size:13px;margin-top:11px}.result-links{display:flex;gap:8px;justify-content:center;align-items:center;margin-top:9px}.preferences{border-top:1px solid var(--line)}.settings-row{display:flex;align-items:center;gap:10px;min-height:53px;border-bottom:1px solid var(--line);font-size:14px}.settings-row span{flex:1}.settings-row select{width:auto}.settings-row small,.preferences p{color:var(--muted);font-size:13px}.preferences p{padding-top:14px;line-height:1.45}@media(max-width:370px){:root{--gutter: 11px}.filter-pills button{padding-inline:9px}.library-button span{display:none}.topbar h1{font-size:15px}}@media(min-width:721px){:root{--gutter: 22px;--header-height: 57px}.feature{height:clamp(328px,34vw,396px)}.feature:before{content:"";position:absolute;top:-20px;right:-20px;bottom:-20px;left:-20px;background:linear-gradient(#0004,#0005),var(--feature-art) center / cover;filter:blur(16px)}.feature>img{position:relative;width:min(68%,490px);margin-inline:auto}.feature-arrow{display:grid}.feature h1{font-size:31px}.effect-row{margin-top:23px}.row-heading h2{font-size:19px}.video-rail{grid-auto-columns:calc((100% - 48px)/5);gap:12px}.discover-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.video-title{font-size:14px}}.style-cover{display:block;aspect-ratio:3 / 4;overflow:hidden;border-radius:9px;background:var(--surface)}.style-cover img{width:100%;height:100%;object-fit:cover;object-position:50% 38%}.photo-rail{grid-auto-columns:calc((100% - 22px)/3.2)}.preview-note{color:var(--muted);font-size:13px;line-height:1.5;text-align:center;margin-top:13px}.privacy-copy{display:grid;gap:16px;font-size:15px;line-height:1.6}@media(min-width:721px){.photo-rail{grid-auto-columns:calc((100% - 36px)/4);gap:12px}.style-cover{aspect-ratio:1.26}}.pending-list,.pending-form{display:grid;gap:12px}.pending-list{margin-bottom:18px}.pending-list button{display:flex;align-items:center;justify-content:space-between;gap:12px;text-align:left;padding:14px;border:1px solid var(--line);border-radius:12px;background:var(--surface)}.pending-list small,.pending-form p{color:var(--muted)}.discover-lead{text-align:center;color:var(--muted);font-size:13px;margin:2px 0 14px}.discover-tools .filter-pills{flex:1}.discover-favorites{background:transparent}@media(max-width:720px){.photo-rail .style-cover{aspect-ratio:1 / 1}.video-card{aspect-ratio:3 / 4}}.pack-pages{display:flex;justify-content:center;padding-top:12px}.edit-example{position:relative;width:min(84%,300px);margin:12px auto 15px}.edit-example img{width:100%;aspect-ratio:3 / 4;object-fit:cover;border-radius:16px}.edit-example span{position:absolute;bottom:15%;left:50%;transform:translate(-50%);white-space:nowrap;border-radius:99px;padding:7px 10px;background:#181818e8;color:#f4f4f4;font-size:12px}.prompt-box label{display:grid;gap:4px}.prompt-box label span,.model-detail{font-size:12px;color:var(--muted)}.prompt-actions{display:flex;align-items:center;justify-content:space-between}.prompt-actions small{margin-left:auto}.inspiration{margin-top:18px}.inspiration h2{font-size:15px;margin-bottom:8px}.inspiration-rail{display:grid;grid-auto-flow:column;grid-auto-columns:106px;overflow-x:auto;gap:8px;scrollbar-width:none}.inspiration-rail button{position:relative;padding:0;border:0;overflow:hidden;border-radius:9px;background:var(--surface)}.inspiration-rail img{width:100%;height:126px;object-fit:cover}.inspiration-rail span{position:absolute;inset:auto 0 0;padding:15px 4px 6px;background:linear-gradient(transparent,#000b);font-size:11px}.prompt-overlay{position:fixed;top:0;right:0;bottom:0;left:0;z-index:15;display:grid;align-items:end;justify-items:center;background:#000b}.prompt-sheet{position:relative;width:min(100%,488px);max-height:calc(100dvh - var(--safe-top) - 14px);overflow:auto;display:grid;gap:12px;padding:18px var(--gutter) calc(var(--safe-bottom) + 14px);background:#232323;border-radius:18px 18px 0 0}.prompt-sheet>.circle-button{position:absolute;right:14px;top:14px;background:#111c}.prompt-sheet img{width:100%;height:210px;object-fit:cover;border-radius:12px}.prompt-sheet p{color:var(--muted);font-size:14px;line-height:1.45}.prompt-sheet>div{display:grid;grid-template-columns:1fr 1fr;gap:8px}.figure-fields{display:grid;gap:11px;padding-top:16px}.topbar.over-feature{transition:background-color .15s ease}.style-mosaic{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-template-rows:repeat(2,minmax(0,1fr));gap:2px}.photo-studio{display:grid;gap:22px}.photo-pack h2{margin-bottom:9px;font-size:16px}.photo-pack>div{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}.photo-pack button{position:relative;padding:0;border:0;border-radius:10px;overflow:hidden;aspect-ratio:3 / 4;background:var(--surface)}.photo-pack img{width:100%;height:100%;object-fit:cover}.photo-pack small{position:absolute;top:6px;right:6px;border-radius:99px;background:#24153c;padding:3px 5px;font-size:10px;color:#fff}@media(max-width:720px){.photo-pack>div{display:flex;overflow-x:auto;scrollbar-width:none}.photo-pack button{flex:0 0 calc((100% - 16px) / 3)}}.reference-photos{display:flex;gap:8px;margin-top:14px}.reference-photos legend{font-size:12px;color:var(--muted);margin-bottom:7px}.reference-photo,.reference-add{position:relative;width:65px;height:65px;border:1px solid var(--line);background:var(--surface);border-radius:10px}.reference-photo img{width:100%;height:100%;object-fit:cover;border-radius:inherit}.reference-photo .circle-button{width:24px;height:24px;position:absolute;top:3px;right:3px;background:#161616dd}.reference-add{display:grid;place-items:center}.onboarding{isolation:isolate;position:relative;display:flex;align-items:end;min-height:100dvh;max-width:640px;margin-inline:auto;overflow:hidden;background:#131313}.onboarding-grid,.onboarding-media,.onboarding-shade{position:absolute;top:0;right:0;bottom:0;left:0;width:100%;height:100%;z-index:-1}.onboarding-grid{display:grid;gap:4px;grid-template-columns:repeat(3,minmax(0,1fr));grid-template-rows:repeat(4,minmax(0,1fr))}.onboarding-grid img,.onboarding-media{width:100%;height:100%;object-fit:cover}.onboarding-shade{background:linear-gradient(#0007,#0000 24%,#15131910 42%,#131313ed 77%,#131313)}.onboarding-top{position:absolute;inset:calc(var(--safe-top) + 6px) var(--gutter) auto;display:flex;flex-direction:column;align-items:end;gap:11px}.onboarding-top .circle-button{background:#131313c9}.onboarding-steps{align-self:stretch;display:flex;gap:4px}.onboarding-steps span{flex:1;height:3px;border-radius:8px;background:#fff5}.onboarding-steps span[data-seen=true]{background:#fff}.onboarding-copy{display:grid;gap:12px;width:100%;text-align:center;padding:24px var(--gutter) calc(12px + var(--safe-bottom))}.onboarding-copy h1{font-size:29px;font-weight:760}.onboarding-copy p,.onboarding-copy span{font-size:14px;color:#ddd}.onboarding-copy span{margin-bottom:-5px}.onboarding-copy .plain-button{justify-self:center}
