.modal.login-modal{display:flex;flex-direction:column;container:login / inline-size;width:min(900px,calc(100% - 32px));height:min(700px,calc(100dvh - 48px));max-height:calc(100dvh - 48px);padding:0;border:0;border-radius:24px;overflow:hidden;background:#f4f3f1;color:#1b1b1b;box-shadow:0 16px 40px #1b1b1b1a,0 2px 8px #1b1b1b0a}.login-modal>.modal-title{display:none}.login-modal>.modal-close{top:12px;right:12px;z-index:10;width:44px;height:44px;border-radius:50%;background:#ffffffe6;color:#4b5563;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px)}.login-modal>.modal-close svg{width:16px;height:16px}.login-orbit-layout{display:flex;flex-direction:column;flex:1;min-height:0}.login-orbit-desktop-art{flex:0 0 clamp(200px,35dvh,320px);width:100%;min-height:0;overflow:hidden}.login-orbit-art{position:relative;width:100%;height:100%;overflow:hidden;background:#f4f3f1;pointer-events:none}.login-orbit-art img,.login-orbit-art video{position:absolute;left:0;top:50%;width:100%;height:auto;transform:translateY(-50%)}.login-orbit-form{flex:1;overscroll-behavior:contain;width:100%;min-width:0;max-width:460px;min-height:0;margin-inline:auto;padding:24px 24px 32px;overflow-y:auto}.login-header{display:flex;flex-direction:column;gap:12px;margin-bottom:24px}.login-header h2{font-family:Poppins,Inter,sans-serif;font-size:24px;line-height:32px;font-weight:600;letter-spacing:normal;margin:0}.login-header p{font-size:13px;line-height:18.5714px;color:#4b5563;margin:0}.login-modal .oauth-buttons{display:flex;flex-direction:column;gap:12px;margin-bottom:24px}.login-modal .button{width:100%;height:44px;min-height:44px;border-radius:12px;font-size:13px;font-weight:500;gap:12px}.login-modal .button-outline{background:#fff;color:#1b1b1b;border:1px solid #e5e7eb;box-shadow:0 1px 2px #0000000d}.login-modal .button-outline:hover{background:#f5f5f580}.login-modal .button svg{width:20px;height:20px;flex-shrink:0}.login-modal .button-default{background:#1b1b1b;color:#fff}.login-modal .button-default:hover{background:#323232}.login-divider{display:flex;align-items:center;gap:12px;height:1px;margin-bottom:24px;color:#4b5563;font-size:12px}.login-divider:before,.login-divider:after{content:"";height:1px;flex:1;background:#e5e7eb}.login-modal form{display:flex;flex-direction:column;gap:16px}.login-email-field{display:flex;flex-direction:column;gap:8px}.login-email-field label{font-size:13px;font-weight:500;line-height:18.5714px}.login-modal .text-input{width:100%;height:44px;padding:4px 12px;border:1px solid #e5e7eb;border-radius:12px;background:#fff;color:#1b1b1b;text-align:left;font-size:13px;box-shadow:0 1px 2px #0000000d}.login-modal .text-input::placeholder{color:#4b5563}.login-modal .text-input:focus{outline:1.5px solid #1b1b1b;outline-offset:0}.login-help{margin:0;font-size:12px;line-height:16px;color:#4b5563;text-align:center}.login-error{margin:0;font-size:12px;line-height:18px;color:#dc2626}@container login (min-width: 52.5rem){.login-orbit-layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);grid-template-rows:minmax(0,1fr);overflow:hidden}.login-orbit-layout .login-orbit-desktop-art{min-width:0;height:100%}.login-orbit-layout .login-orbit-form{max-width:none;height:100%;padding:56px 32px 32px}}@media(max-width:699px){.modal.login-modal{top:0;right:0;bottom:0;left:0;transform:none;width:100%;height:100dvh;max-height:100dvh;border-radius:0;padding:calc(env(safe-area-inset-top,0px) + 52px) 0 env(safe-area-inset-bottom,0px)}.login-modal>.modal-close{top:calc(env(safe-area-inset-top,0px) + 8px)}.login-orbit-layout{overflow-y:auto;display:block}.login-orbit-desktop-art{height:clamp(200px,32svh,320px)}.login-orbit-form{overflow:visible;padding-top:20px;max-width:480px}.login-header{text-align:center}.login-modal .text-input{font-size:16px}.login-modal:has(input:focus) .login-orbit-desktop-art{display:none}}/*! tailwindcss v4.3.5 | MIT License | https://tailwindcss.com */@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:block))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,:before,:after,::backdrop{--tw-rotate-x:initial;--tw-rotate-y:initial;--tw-rotate-z:initial;--tw-skew-x:initial;--tw-skew-y:initial;--tw-shadow:0 0 #0000;--tw-shadow-color:initial;--tw-shadow-alpha:100%;--tw-inset-shadow:0 0 #0000;--tw-inset-shadow-color:initial;--tw-inset-shadow-alpha:100%;--tw-ring-color:initial;--tw-ring-shadow:0 0 #0000;--tw-inset-ring-color:initial;--tw-inset-ring-shadow:0 0 #0000;--tw-ring-inset:initial;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-offset-shadow:0 0 #0000;--tw-outline-style:solid;--tw-blur:initial;--tw-brightness:initial;--tw-contrast:initial;--tw-grayscale:initial;--tw-hue-rotate:initial;--tw-invert:initial;--tw-opacity:initial;--tw-saturate:initial;--tw-sepia:initial;--tw-drop-shadow:initial;--tw-drop-shadow-color:initial;--tw-drop-shadow-alpha:100%;--tw-drop-shadow-size:initial}}}@layer theme{:root,:host{--font-sans:-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";--font-mono:ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;--default-transition-duration:.15s;--default-transition-timing-function:cubic-bezier(.4, 0, .2, 1);--default-font-family:var(--font-sans);--default-mono-font-family:var(--font-mono)}}@layer base{*,:after,:before,::backdrop{box-sizing:border-box;border:0 solid;margin:0;padding:0}::file-selector-button{box-sizing:border-box;border:0 solid;margin:0;padding:0}html,:host{-webkit-text-size-adjust:100%;-moz-tab-size:4;tab-size:4;line-height:1.5;font-family:var(--default-font-family,-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji");font-feature-settings:var(--default-font-feature-settings,normal);font-variation-settings:var(--default-font-variation-settings,normal);-webkit-tap-highlight-color:transparent}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;-webkit-text-decoration:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:var(--default-mono-font-family,ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace);font-feature-settings:var(--default-mono-font-feature-settings,normal);font-variation-settings:var(--default-mono-font-variation-settings,normal);font-size:1em}small{font-size:80%}sub,sup{vertical-align:baseline;font-size:75%;line-height:0;position:relative}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}:-moz-focusring:where(:not(iframe)){outline:auto}progress{vertical-align:baseline}summary{display:list-item}ol,ul,menu{list-style:none}img,svg,video,canvas,audio,iframe,embed,object{vertical-align:middle;display:block}img,video{max-width:100%;height:auto}button,input,select,optgroup,textarea{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}::file-selector-button{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}:where(select:is([multiple],[size])) optgroup{font-weight:bolder}:where(select:is([multiple],[size])) optgroup option{padding-inline-start:20px}::file-selector-button{margin-inline-end:4px}::placeholder{opacity:1}@supports (not ((-webkit-appearance:-apple-pay-button))) or (contain-intrinsic-size:1px){::placeholder{color:currentColor}@supports (color:color-mix(in lab,red,red)){::placeholder{color:color-mix(in oklab,currentcolor 50%,transparent)}}}textarea{resize:vertical}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-date-and-time-value{min-height:1lh;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-datetime-edit{padding-block:0}::-webkit-datetime-edit-year-field{padding-block:0}::-webkit-datetime-edit-month-field{padding-block:0}::-webkit-datetime-edit-day-field{padding-block:0}::-webkit-datetime-edit-hour-field{padding-block:0}::-webkit-datetime-edit-minute-field{padding-block:0}::-webkit-datetime-edit-second-field{padding-block:0}::-webkit-datetime-edit-millisecond-field{padding-block:0}::-webkit-datetime-edit-meridiem-field{padding-block:0}::-webkit-calendar-picker-indicator{line-height:1}:-moz-ui-invalid{box-shadow:none}button,input:where([type=button],[type=reset],[type=submit]){-webkit-appearance:button;-moz-appearance:button;appearance:button}::file-selector-button{-webkit-appearance:button;-moz-appearance:button;appearance:button}::-webkit-inner-spin-button{height:auto}::-webkit-outer-spin-button{height:auto}[hidden]:where(:not([hidden=until-found])){display:none!important}}@layer components;@layer utilities{.collapse{visibility:collapse}.visible{visibility:visible}.sr-only{clip-path:inset(50%);white-space:nowrap;border-width:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.absolute{position:absolute}.fixed{position:fixed}.static{position:static}.container{width:100%}@media(min-width:40rem){.container{max-width:40rem}}@media(min-width:48rem){.container{max-width:48rem}}@media(min-width:64rem){.container{max-width:64rem}}@media(min-width:80rem){.container{max-width:80rem}}@media(min-width:96rem){.container{max-width:96rem}}.block{display:block}.grid{display:grid}.hidden{display:none}.table{display:table}.transform{transform:var(--tw-rotate-x, ) var(--tw-rotate-y, ) var(--tw-rotate-z, ) var(--tw-skew-x, ) var(--tw-skew-y, )}.resize{resize:both}.rounded{border-radius:.25rem}.lowercase{text-transform:lowercase}.italic{font-style:italic}.shadow{--tw-shadow:0 1px 3px 0 var(--tw-shadow-color,#0000001a), 0 1px 2px -1px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.ring{--tw-ring-shadow:var(--tw-ring-inset, ) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.outline{outline-style:var(--tw-outline-style);outline-width:1px}.blur{--tw-blur:blur(8px);filter:var(--tw-blur, ) var(--tw-brightness, ) var(--tw-contrast, ) var(--tw-grayscale, ) var(--tw-hue-rotate, ) var(--tw-invert, ) var(--tw-saturate, ) var(--tw-sepia, ) var(--tw-drop-shadow, )}.filter{filter:var(--tw-blur, ) var(--tw-brightness, ) var(--tw-contrast, ) var(--tw-grayscale, ) var(--tw-hue-rotate, ) var(--tw-invert, ) var(--tw-saturate, ) var(--tw-sepia, ) var(--tw-drop-shadow, )}.transition{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to,opacity,box-shadow,transform,translate,scale,rotate,filter,-webkit-backdrop-filter,backdrop-filter,display,content-visibility,overlay,pointer-events;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}}@font-face{font-family:Inter;src:url(/reference/inter_var-s.p.45535valc9rzk.woff2)format("woff2");font-style:normal;font-weight:100 900;font-display:swap}@font-face{font-family:Poppins;src:url(/reference/poppins_600-s.p.2g9xiodaln20i.woff2)format("woff2");font-weight:600;font-display:swap}:root{color:#1b1b1b;font-synthesis:none;--background:#fff;--foreground:#1b1b1b;--card:#fffffff2;--secondary:#f3f4f6;--muted:#f5f5f5;--muted-foreground:#4b5563;--subtle:#6b7280;--active:#ececec;--hover:#e3e3e3;--border:#e5e7eb;--ring:#445ee5;--float-shadow:0 10px 30px #1b1b1b14, 0 2px 8px #1b1b1b0a;--panel-shadow:0 16px 40px #1b1b1b1a, 0 2px 8px #1b1b1b0a;--sidebar-width:256px;background:#fff;font-family:Inter,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,PingFang SC,Microsoft YaHei,sans-serif;font-size:14px}[data-theme=dark]{--background:#151515;--foreground:#ededed;--card:#1b1b1bf5;--secondary:#282828;--muted:#262626;--muted-foreground:#bbb;--subtle:#929292;--active:#333;--hover:#3a3a3a;--border:#393939;color:var(--foreground);background:var(--background);color-scheme:dark}*{box-sizing:border-box}body{-webkit-font-smoothing:antialiased;min-width:320px;margin:0;overflow:hidden}button,input,textarea,select{font:inherit}button,a,input,textarea{-webkit-tap-highlight-color:transparent}button{cursor:pointer;color:inherit;background:0 0;border:0}button:disabled{opacity:.4;cursor:default}a{color:inherit;text-decoration:none}button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible{outline:2px solid var(--ring);outline-offset:3px}input,textarea{color:var(--foreground)}input::placeholder,textarea::placeholder{color:var(--subtle)}button,a{touch-action:manipulation}img{max-width:100%;display:block}h1,h2,h3,p{margin:0}svg{flex-shrink:0}::-webkit-scrollbar{width:6px;height:4px}::-webkit-scrollbar-thumb{background:#acafb66b;border-radius:8px}::-webkit-scrollbar-track{background:0 0}*{scrollbar-width:thin;scrollbar-color:#acafb66b transparent}.sr-only{clip:rect(0,0,0,0);white-space:nowrap;width:1px;height:1px;overflow:hidden;position:absolute!important}.flex-spacer{flex:1}.muted{color:var(--subtle)}.full-width{width:100%}.text-button{color:var(--subtle);align-items:center;gap:5px;padding:3px 0;font-size:12px;display:inline-flex}.text-button:hover{color:var(--foreground)}.mesh-background{pointer-events:none;z-index:-1;background:#f6f8fb;position:fixed;top:0;right:0;bottom:0;left:0;overflow:hidden}.mesh-background>div:first-child{filter:blur(60px);background:radial-gradient(80% 60% at 10% 20%,#2982ff6b,#0000 50%),radial-gradient(60% 80% at 90% 30%,#b870ff61,#0000 50%),radial-gradient(50% 70% at 30% 60%,#ffa64c61,#0000 50%),radial-gradient(60% 60% at 70% 70%,#f7f7f780,#0000 50%);animation:90s ease-in-out infinite mesh-orbit;position:absolute;top:-60%;right:-60%;bottom:-60%;left:-60%}.mesh-background>div:last-child{filter:blur(80px);background:radial-gradient(55% 45% at 80% 10%,#3d9eff6b,#0000 45%),radial-gradient(45% 55% at 20% 90%,#d27efc61,#0000 45%),radial-gradient(50% 50% at 60%,#ffa05c61,#0000 45%);animation:110s ease-in-out infinite reverse mesh-orbit;position:absolute;top:-40%;right:-40%;bottom:-40%;left:-40%}[data-theme=dark] .mesh-background{background:#151515}[data-theme=dark] .mesh-background>div{opacity:.15}@keyframes mesh-orbit{0%,to{transform:translate(0)rotate(0)scale(1)}50%{transform:translate(4%,3%)rotate(10deg)scale(1.08)}}.app-shell{min-height:100dvh;display:flex}.sidebar{background:var(--card);z-index:30;flex-direction:column;width:256px;height:100dvh;line-height:1.55;display:flex;position:fixed;top:0;left:0}.brand{flex-shrink:0;align-items:center;height:68px;padding:25px 14px 8px 22px;display:flex}.brand-logo{flex-shrink:0;width:155px;height:auto}[data-theme=dark] .brand-logo{filter:invert()}.sidebar-body{flex-direction:column;flex:1;gap:12px;min-height:0;padding-top:0;display:flex;overflow:auto}.primary-nav,.categories-nav{padding:0 14px}.primary-nav{flex-direction:column;gap:4px;display:flex}.nav-item{text-align:left;white-space:nowrap;border-radius:8px;align-items:center;gap:12px;width:100%;height:32px;padding:6px 12px;font-size:14px;font-weight:400;display:flex}.nav-item>svg{stroke-width:1.7px;width:14px;height:14px;color:var(--muted-foreground)}.nav-item>span{flex:1}.nav-item:hover,.category-item:hover{background:var(--muted)}.nav-item.active,.category-item.active{background:var(--active)}.nav-label{height:32px;color:var(--subtle);align-items:center;padding:0 8px;font-size:14px;display:flex}.search-nav kbd{opacity:0;background:var(--secondary);border-radius:5px;padding:1px 5px;font-size:10px;transition:opacity .15s}.search-nav:hover kbd{opacity:1}.tag-chevron{margin-left:auto;transition:transform .15s}.tag-chevron.collapsed{transform:rotate(-90deg)}.category-scroll{overscroll-behavior:contain;min-height:160px;max-height:min(300px,100dvh - 395px);margin-top:4px;overflow-y:auto}.category-list{border-left:1px solid #00000014;flex-direction:column;gap:2px;margin-left:19px;padding-left:10px;display:flex}.category-item{text-align:left;white-space:nowrap;border-radius:8px;align-items:center;gap:8px;width:100%;min-height:31px;padding:6px 12px;font-size:14px;display:flex}.blue-dot{background:#3b82f6;border-radius:50%;width:6px;height:6px}.updates-link{margin-top:6px}.sidebar-footer{flex-shrink:0;padding:14px}.footer-links{color:var(--subtle);align-items:center;gap:6px;padding:0 12px 20px;font-size:12px;display:flex}.footer-links a:hover{color:var(--foreground)}.appearance-button{background:var(--secondary);color:var(--foreground);border-radius:4px;align-items:center;gap:3px;margin-left:2px;padding:1px 3px;font-size:10px;display:inline-flex}.appearance-button>span{color:#1b1b1b;background:#ffce2d;border-radius:3px;padding:0 4px}.account-row{justify-content:space-between;align-items:center;gap:10px;display:flex}.get-started{isolation:isolate;color:#fff;background:#171717;border-radius:9px;width:118px;height:40px;font-size:14px;font-weight:500;position:relative}.get-started:after{content:"";z-index:-1;filter:blur(7px);background:linear-gradient(90deg,#db9fff,#ffbf7c,#fff99b,#96ffe2);height:5px;position:absolute;bottom:-2px;left:8px;right:8px}.get-started:hover{background:#333}.free-credits{color:var(--subtle);padding:8px 0;font-size:12px}.profile-button{align-items:center;gap:8px;max-width:145px;display:flex}.profile-button>span:nth-child(2){text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.avatar{color:#475569;background:linear-gradient(135deg,#d4e5f7,#eddbea);border-radius:50%;place-items:center;width:32px;height:32px;font-weight:500;display:grid}.avatar.large{width:52px;height:52px;font-size:22px}.sidebar-backdrop{display:none}.main-shell{flex:1;min-width:0;margin-left:256px;padding:16px;transition:margin-right .2s}.content-panel{background:var(--background);height:calc(100dvh - 32px)}@supports (color:color-mix(in lab,red,red)){.content-panel{background:color-mix(in srgb,var(--background) 80%,transparent)}}.content-panel{border-radius:24px;position:relative;overflow:hidden}.with-creator .main-shell{margin-right:391px}.mobile-header{display:none}.gallery-page{flex-direction:column;height:100%;min-height:0;display:flex}.gallery-header{flex-shrink:0;justify-content:space-between;align-items:center;gap:12px;min-height:60px;padding:16px 16px 8px;display:flex}.model-tabs{scrollbar-width:none;align-items:center;gap:2px;min-width:0;display:flex;overflow-x:auto}.model-tabs::-webkit-scrollbar{display:none}.model-tab{white-space:nowrap;color:var(--muted-foreground);border-radius:12px;flex-shrink:0;align-items:center;gap:6px;padding:9px 12px;font-size:14px;line-height:18px;display:flex}.model-tab:first-child{font-size:13px}.model-tab:hover{background:var(--muted)}.model-tab.active{background:var(--active);color:var(--foreground);font-weight:500}.sort-tabs{flex-shrink:0;gap:3px;display:flex}.sort-tabs>button{height:32px;color:var(--subtle);white-space:nowrap;border-radius:11px;padding:6px 11px;font-size:13px}.sort-tabs>button.active{color:var(--foreground);background:var(--active)}.sort-tabs>button:hover{background:var(--muted)}.gallery-scroll{overscroll-behavior:contain;flex:1;min-height:0;padding:0 16px 100px;overflow:hidden auto}.masonry{align-items:flex-start;gap:12px;display:flex}.masonry-column{flex-direction:column;flex:1;gap:12px;min-width:0;display:flex}.gallery-card{isolation:isolate;background:var(--secondary);border-radius:14px;flex-shrink:0;position:relative;overflow:hidden;transform:translateZ(0)}.card-open{text-align:left;width:100%;padding:0;display:block;overflow:hidden}.card-open>img{object-fit:cover;width:100%;height:100%;transition:filter .25s}.card-actions-top{opacity:0;pointer-events:none;gap:6px;transition:opacity .18s,transform .18s;display:flex;position:absolute;top:10px;right:10px;transform:translateY(-4px)}.gallery-card:hover .card-actions-top,.gallery-card:focus-within .card-actions-top{opacity:1;pointer-events:auto;transform:none}.card-round{color:#222;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);background:#ffffffed;border-radius:50%;place-items:center;width:32px;height:32px;display:grid;box-shadow:0 1px 5px #0000000d}.card-round:hover{background:#fff;transform:scale(1.05)}.card-round.is-favorite{color:#e04f66}.card-caption{color:#fff;pointer-events:none;opacity:0;background:linear-gradient(#0000,#0009);padding:38px 12px 12px;transition:opacity .2s;position:absolute;inset:auto 0 0}.gallery-card:hover .card-caption,.gallery-card:focus-within .card-caption{opacity:1}.card-caption>p{white-space:nowrap;text-overflow:ellipsis;margin-bottom:8px;font-size:13px;font-weight:500;overflow:hidden}.card-bottom{align-items:center;gap:8px;display:flex}.card-author{white-space:nowrap;text-overflow:ellipsis;opacity:.9;flex:1;min-width:0;font-size:11px;overflow:hidden}.recreate-button{pointer-events:auto;-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);background:#ffffff26;border:1px solid #ffffff5c;border-radius:8px;justify-content:center;align-items:center;gap:4px;padding:5px 8px;font-size:11px;display:flex}.card-copy{pointer-events:auto;place-items:center;width:26px;height:26px;display:grid}.video-badge{color:#fff;background:#0006;border-radius:6px;align-items:center;gap:4px;padding:4px 7px;font-size:11px;display:flex;position:absolute;top:10px;left:10px}.image-error{width:100%;height:100%;color:var(--subtle);flex-direction:column;justify-content:center;align-items:center;gap:8px;font-size:12px;display:flex}.load-sentinel{text-align:center;color:var(--subtle);padding:28px;font-size:12px}.load-sentinel>span{opacity:.7}.active-filter{align-items:center;gap:12px;padding:0 16px 12px;font-size:12px;display:flex}.active-filter>span:first-child{background:var(--secondary);border-radius:8px;padding:5px 9px}.active-filter>button{color:var(--subtle)}.skeleton-grid{grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:12px;display:grid}.skeleton-grid>div{background:linear-gradient(90deg,var(--secondary),var(--background),var(--secondary));background-size:200% 100%;border-radius:14px;animation:1.5s infinite skeleton}@keyframes skeleton{to{background-position:-200% 0}}.page-heading{padding:28px 24px 8px}.page-heading h1{font-size:24px;font-weight:600}.page-heading p{color:var(--subtle);margin-top:6px;font-size:13px}.dock{z-index:45;background:var(--background);border-radius:16px;align-items:center;gap:16px;height:64px;padding:12px 16px;display:flex;position:fixed;bottom:24px;left:50%;transform:translate(-50%)}@supports (color:color-mix(in lab,red,red)){.dock{background:color-mix(in srgb,var(--background) 80%,transparent)}}.dock{-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);box-shadow:0 20px 25px -5px #00000024,0 8px 10px -6px #00000024}.dock-item{background:var(--muted);place-items:center;width:40px;height:40px;display:grid}@supports (color:color-mix(in lab,red,red)){.dock-item{background:color-mix(in srgb,var(--muted) 30%,transparent)}}.dock-item{border-radius:10px;transition:background .15s,transform .15s}.dock-item:hover{background:var(--active);transform:translateY(-3px)}.dock-item.selected{background:var(--active)}@supports (color:color-mix(in lab,red,red)){.dock-item.selected{background:color-mix(in srgb,var(--active) 65%,transparent)}}.button{white-space:nowrap;border-radius:9px;justify-content:center;align-items:center;gap:7px;min-height:36px;padding:8px 14px;font-size:13px;font-weight:500;transition:background .15s,opacity .15s;display:inline-flex}.button-default{background:var(--foreground);color:var(--background)}.button-default:hover:not(:disabled){opacity:.88}.button-outline{border:1px solid var(--border);background:var(--background);box-shadow:0 1px 2px #00000005}.button-outline:hover:not(:disabled),.button-ghost:hover{background:var(--muted)}.icon-button{width:32px;height:32px;color:var(--subtle);border-radius:9px;flex-shrink:0;justify-content:center;align-items:center;display:inline-flex}.icon-button:hover,.icon-button.active{background:var(--secondary);color:var(--foreground)}.tooltip{z-index:200;background:var(--foreground);color:var(--background);box-shadow:var(--float-shadow);border-radius:7px;padding:6px 9px;font-size:11px;animation:.12s fade-in}.tooltip svg{fill:var(--foreground)}.modal-overlay{-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px);z-index:80;background:#0005;animation:.15s fade-in;position:fixed;top:0;right:0;bottom:0;left:0}.modal{z-index:81;background:var(--background);color:var(--foreground);border-radius:16px;width:min(600px,100% - 32px);max-height:calc(100dvh - 40px);padding:28px;animation:.18s modal-in;position:fixed;top:50%;left:50%;overflow:auto;transform:translate(-50%,-50%);box-shadow:0 24px 80px #0003}.modal-title{letter-spacing:-.3px;margin-bottom:16px;padding-right:25px;font-size:18px;font-weight:600}.modal-description{color:var(--subtle);margin-bottom:22px;font-size:13px;line-height:1.7}.modal-close{position:absolute;top:16px;right:16px}.small-modal{width:400px}.small-modal .full-width{margin-top:18px}.help-content{color:var(--muted-foreground);flex-direction:column;gap:15px;font-size:13px;line-height:1.8;display:flex}kbd{background:var(--secondary);color:var(--subtle);border-radius:4px;padding:2px 4px;font:11px Inter,monospace}@keyframes fade-in{0%{opacity:0}to{opacity:1}}@keyframes modal-in{0%{opacity:0;transform:translate(-50%,-48%)}to{opacity:1;transform:translate(-50%,-50%)}}.menu-content,.select-content{z-index:150;min-width:180px;max-height:var(--radix-dropdown-menu-content-available-height,350px);border:1px solid var(--border);background:var(--background);box-shadow:var(--float-shadow);border-radius:11px;padding:5px;animation:.12s fade-in;overflow:auto}.menu-item{cursor:pointer;-webkit-user-select:none;user-select:none;border-radius:6px;outline:none;align-items:center;gap:9px;min-height:33px;padding:7px 9px;font-size:12px;display:flex}.menu-item[data-highlighted]{background:var(--secondary)}.menu-item[data-disabled]{opacity:.4;pointer-events:none}.menu-item.destructive{color:#dc4d4d}.menu-separator{background:var(--border);height:1px;margin:4px}.select-trigger{background:var(--secondary);white-space:nowrap;border-radius:8px;justify-content:space-between;align-items:center;gap:10px;min-width:90px;min-height:34px;padding:7px 11px;font-size:13px;display:inline-flex}.select-content{min-width:var(--radix-select-trigger-width);max-height:300px}.select-item{cursor:pointer;border-radius:6px;outline:none;justify-content:space-between;align-items:center;gap:20px;min-height:32px;padding:8px 10px;font-size:12px;display:flex}.select-item[data-highlighted]{background:var(--secondary)}.select-item[data-state=checked]{font-weight:500}.text-input{border:1px solid var(--border);background:var(--background);border-radius:8px;outline:none;width:100%;min-height:40px;padding:10px 12px;font-size:13px;display:block}.text-input:focus{border-color:var(--subtle)}textarea.text-input{resize:vertical;min-height:90px}.form-label{color:var(--muted-foreground);flex-direction:column;gap:8px;margin-bottom:16px;font-size:13px;display:flex}.toaster{z-index:220;flex-direction:column;gap:8px;max-width:min(390px,100vw - 32px);display:flex;position:fixed;bottom:25px;right:25px}.toast{background:var(--background);border:1px solid var(--border);box-shadow:var(--float-shadow);border-radius:13px;align-items:center;gap:9px;padding:13px 15px;font-size:12px;animation:.2s fade-in;display:flex}.toast-status{color:#fff;background:#14945c;border-radius:50%;flex-shrink:0;place-items:center;width:18px;height:18px;font-size:12px;display:grid}.toast-error .toast-status{background:#d85252}.toast>button{opacity:.6;margin-left:8px}.spin{animation:1s linear infinite spin}@keyframes spin{to{transform:rotate(360deg)}}.creator-panel{background:var(--card);z-index:40;visibility:hidden;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);border-radius:24px;flex-direction:column;width:375px;padding:16px;transition:transform .2s,visibility .2s;display:flex;position:fixed;top:16px;bottom:16px;right:16px;transform:translate(calc(100% + 16px))}.creator-panel.open{visibility:visible;transform:none}.creator-heading{flex-shrink:0;justify-content:space-between;align-items:center;margin-bottom:12px;padding:0 4px;display:flex}.creator-heading h2{font-size:16px;font-weight:600;line-height:24px}.creator-heading>div{gap:2px;display:flex}.creator-scroll{flex-direction:column;flex:1;gap:12px;min-height:0;padding-right:4px;display:flex;position:relative;overflow-y:auto}.reference-box{background:var(--secondary);border-radius:16px;padding:4px}@supports (color:color-mix(in lab,red,red)){.reference-box{background:color-mix(in srgb,var(--secondary) 65%,transparent)}}.reference-box{flex-shrink:0}.reference-upload{text-align:left;border-radius:12px;align-items:center;gap:8px;width:100%;height:64px;padding:0 12px;font-size:14px;font-weight:500;display:flex}.reference-upload:hover{background:var(--background)}@supports (color:color-mix(in lab,red,red)){.reference-upload:hover{background:color-mix(in srgb,var(--background) 70%,transparent)}}.reference-upload>span:first-of-type{flex:1}.reference-plus{background:var(--active);width:36px;height:36px;color:var(--subtle);border-radius:8px;place-items:center;display:grid}.reference-list{flex-wrap:wrap;gap:7px;padding:3px 8px 8px;display:flex}.reference-list>div{background:var(--secondary);border-radius:8px;width:55px;height:55px;position:relative}.reference-list img{object-fit:cover;border-radius:8px;width:100%;height:100%}.reference-list>div>button{color:#fff;background:#333;border-radius:50%;place-items:center;width:17px;height:17px;display:grid;position:absolute;top:-5px;right:-4px}.reference-list>div>span{color:#fff;text-shadow:0 1px 3px #000;font-size:9px;position:absolute;bottom:2px;left:4px}.add-reference{border:1px dashed var(--border);width:55px;height:55px;color:var(--subtle);border-radius:8px;place-items:center;display:grid}.prompt-box{background:var(--secondary);padding:16px}@supports (color:color-mix(in lab,red,red)){.prompt-box{background:color-mix(in srgb,var(--secondary) 65%,transparent)}}.prompt-box{border-radius:16px;flex-shrink:0}.prompt-box-heading{justify-content:space-between;align-items:center;height:20px;margin-bottom:8px;display:flex}.prompt-box-heading label{font-size:14px}.prompt-box textarea{resize:vertical;background:0 0;border:0;width:100%;min-height:130px;max-height:350px;padding:0;font-size:14px;line-height:21px;display:block;outline:none!important}.prompt-tools{justify-content:space-between;align-items:center;margin-top:8px;display:flex}.prompt-tools-group{background:var(--active);align-items:center;padding:2px;display:flex}@supports (color:color-mix(in lab,red,red)){.prompt-tools-group{background:color-mix(in srgb,var(--active) 60%,transparent)}}.prompt-tools-group{border-radius:8px}.prompt-tools-group>span{background:var(--border);width:1px;height:14px}.prompt-count{color:var(--subtle);font-size:10px}.generation-options{flex-shrink:0;grid-template-columns:1fr 1fr;gap:12px;display:grid}.generation-options>label{flex-direction:column;align-items:flex-start;gap:6px;min-width:0;display:flex}.generation-options>label>span{color:var(--subtle);font-size:12px}.generation-options .select-trigger{background:var(--secondary);min-width:100%}@supports (color:color-mix(in lab,red,red)){.generation-options .select-trigger{background:color-mix(in srgb,var(--secondary) 65%,transparent)}}.quantity-row{flex-shrink:0;justify-content:space-between;align-items:center;display:flex}.quantity-control{border:1px solid var(--border);border-radius:8px;align-items:center;height:34px;display:flex}.quantity-control>button{place-items:center;width:32px;height:32px;display:grid}.quantity-control>button:first-child{border-right:1px solid var(--border)}.quantity-control>button:last-child{border-left:1px solid var(--border)}.quantity-control>span{text-align:center;font-variant-numeric:tabular-nums;min-width:54px;font-size:14px}.quantity-control i{color:var(--subtle);font-style:normal}.creator-bottom{flex-shrink:0;padding-top:16px}.creator-model-row{justify-content:space-between;align-items:center;gap:8px;margin-bottom:12px;display:flex}.creator-model-row>.select-trigger{font-weight:500}.creator-model-choice{flex:1;align-items:center;min-width:0;display:flex}.creator-model-row{gap:12px;min-height:36px}.creator-model-row.video-model-row{justify-content:center}.video-model-row .creator-model-choice{flex:0 auto;max-width:100%}.generation-model-trigger{background:var(--secondary);min-width:0;max-width:100%;height:36px;color:var(--foreground);border-radius:14px;align-items:center;gap:8px;padding:0 12px;font-size:14px;font-weight:500;line-height:20px;transition:background-color .15s;display:flex;position:relative}.generation-model-trigger:hover{background:var(--secondary)}@supports (color:color-mix(in lab,red,red)){.generation-model-trigger:hover{background:color-mix(in srgb,var(--secondary) 80%,transparent)}}.generation-model-trigger:focus-visible{outline-offset:2px;outline:2px solid #3b82f6}.generation-model-trigger bdi{white-space:nowrap;scrollbar-width:none;min-width:0;overflow-x:auto}.generation-model-trigger bdi::-webkit-scrollbar{display:none}.generation-model-trigger>svg{opacity:.6;flex-shrink:0}.model-provider-icon{object-fit:contain;flex-shrink:0;width:16px;height:16px;display:block}.generation-model-menu{z-index:150;width:300px;max-width:calc(100vw - 16px);max-height:min(560px,calc(100vh - 64px),var(--radix-dropdown-menu-content-available-height));overscroll-behavior:contain;background:var(--background);color:var(--foreground);border:0;border-radius:18px;outline:none;padding:4px;animation:.12s fade-in;overflow:auto;box-shadow:0 16px 40px #1b1b1b1a,0 2px 8px #1b1b1b0a}.model-group-label{color:var(--subtle);align-items:center;gap:8px;padding:8px 8px 4px;font-size:12px;font-weight:500;line-height:16px;display:flex}.model-group-label small{white-space:nowrap;margin-left:auto;font-size:12px;font-weight:400}.generation-model-item{cursor:pointer;-webkit-user-select:none;user-select:none;border-radius:6px;outline:none;align-items:center;gap:12px;padding:10px 8px;display:flex}.generation-model-item[data-highlighted]{background:var(--secondary)}.generation-model-item>.model-provider-icon{width:20px;height:20px}.model-item-body{flex:1;justify-content:space-between;align-items:center;gap:8px;min-width:0;display:flex}.model-item-copy{flex-direction:column;align-items:flex-start;gap:2px;min-width:0;display:flex}.model-name{align-items:center;gap:6px;max-width:100%;font-size:14px;font-weight:500;line-height:20px;display:flex}.model-name>span:first-child{overflow-wrap:break-word;min-width:0}.model-description{text-overflow:ellipsis;white-space:nowrap;text-align:start;max-width:100%;color:var(--subtle);font-size:12px;font-weight:400;line-height:16px;overflow:hidden}.model-item-status{flex-shrink:0;align-items:center;gap:8px;display:flex}.model-item-status>span[data-state]{color:#3b82f6;display:flex}.model-status-tag{color:#168de0;text-transform:uppercase;background:#fff;border-radius:2px;padding:1px 6px;font-size:12px;font-style:italic;font-weight:500;line-height:16px;display:inline-block;transform:skew(-3deg)}.model-tag-busy{color:#e2811c}.model-tag-maintenance{color:#e13a55}.new-model-dot{background:#3b82f6;border-radius:50%;flex-shrink:0;width:6px;height:6px}.trigger-dot{position:absolute;top:-2px;right:-2px}[data-theme=dark] .monochrome-provider{filter:invert()}.creator-model-row .canvas-toggle{color:var(--subtle);flex-shrink:0;font-size:14px;font-weight:500;line-height:20px}.creator-model-row .switch[data-state=checked]{background:var(--foreground)}.canvas-toggle{align-items:center;gap:8px;font-size:13px;display:flex}.switch{background:var(--foreground);border-radius:20px;align-items:center;width:36px;height:20px;padding:2px;display:inline-flex}@supports (color:color-mix(in lab,red,red)){.switch{background:color-mix(in srgb,var(--foreground) 15%,transparent)}}.switch{cursor:pointer;flex-shrink:0}.switch[data-state=checked]{background:#3b82f6}.switch-thumb{background:#fff;border-radius:50%;width:16px;height:16px;transition:transform .15s;display:block;box-shadow:0 1px 2px #0002}.switch-thumb[data-state=checked]{transform:translate(16px)}.generate-button{border-radius:12px;width:100%;height:44px;font-size:14px}.creator-drop-zone{z-index:5;background:var(--background);position:absolute;top:0;right:0;bottom:0;left:0}@supports (color:color-mix(in lab,red,red)){.creator-drop-zone{background:color-mix(in srgb,var(--background) 90%,transparent)}}.creator-drop-zone{text-align:center;color:#536fce;pointer-events:none;border:2px dashed #889ff2;border-radius:15px;place-items:center;padding:25px;display:grid}.skill-description{flex-direction:column;gap:12px;font-size:13px;display:flex}.skill-description>p{color:var(--subtle);font-size:12px;line-height:1.7}.skill-description>label{flex-direction:column;gap:7px;display:flex}.segmented{background:var(--secondary);border-radius:9px;gap:3px;padding:3px;display:flex}.segmented>button{color:var(--subtle);white-space:nowrap;border-radius:7px;flex:1;padding:7px 11px;font-size:12px}.segmented>button.active{background:var(--background);color:var(--foreground);box-shadow:0 1px 3px #0000000d}.expand-canvas-preview{aspect-ratio:1.2;background:repeating-conic-gradient(#f0edfa 0,#f0edfa 25%,#e6e2f3 0,#e6e2f3 50%) 50%/16px 16px;border-radius:10px;place-items:center;display:grid;position:relative}.expand-canvas-preview img{object-fit:contain;width:55%;height:65%}.expand-canvas-preview>span{color:#8a7ba1;font-size:11px;position:absolute;bottom:10px}.assets-modal{width:720px}.assets-toolbar{align-items:center;gap:12px;margin-bottom:20px;display:flex}.assets-toolbar>span{color:var(--subtle);font-size:12px}.asset-grid{grid-template-columns:repeat(4,1fr);gap:10px;max-height:400px;margin-bottom:20px;display:grid;overflow:auto}.asset-grid>div{aspect-ratio:1;border:2px solid #0000;border-radius:10px;position:relative;overflow:hidden}.asset-grid>div.selected{border-color:#5d7ce2}.asset-grid>div>button:first-child{width:100%;height:100%;padding:0}.asset-grid img{object-fit:cover;width:100%;height:100%}.asset-grid .icon-button{color:#555;background:#fffd;width:25px;height:25px;position:absolute;top:4px;right:4px}.assets-empty{height:260px;color:var(--subtle);flex-direction:column;justify-content:center;align-items:center;gap:10px;display:flex}.assets-empty p{color:var(--foreground);font-weight:500}.assets-empty span{font-size:12px}.modal-overlay.detail-overlay{-webkit-backdrop-filter:blur(24px);backdrop-filter:blur(24px);background:#f0f0f0d9}.detail-modal{-webkit-backdrop-filter:none;backdrop-filter:none;width:100vw;height:100dvh;max-height:none;box-shadow:none;background:0 0;border-radius:0;grid-template-columns:minmax(0,1fr) 480px;padding:0;animation:.15s fade-in;display:grid;top:0;right:0;bottom:0;left:0;overflow:hidden;transform:none}.detail-modal>.modal-title,.detail-modal>.modal-close{display:none}.detail-viewer{justify-content:center;align-items:center;min-width:0;height:100%;display:flex;position:relative;overflow:hidden}.detail-media{justify-content:center;align-items:center;width:100%;height:100%;padding:40px 60px 110px;display:flex}.detail-media img,.detail-media video{object-fit:contain;border-radius:8px;width:auto;max-width:100%;height:auto;max-height:100%;box-shadow:0 4px 30px #0000000d}.detail-media img{cursor:zoom-in}.detail-viewer.zoomed{overflow:auto}.detail-viewer.zoomed .detail-media{min-width:130%;min-height:130%}.detail-viewer.zoomed .detail-media img{cursor:zoom-out;width:100%;max-width:none;max-height:none}.detail-back{z-index:2;color:#444;position:absolute;top:20px;left:20px;background:#ffffffa6!important}.detail-prev,.detail-next{color:#444;border-radius:50%;width:36px;height:36px;position:absolute;top:50%;transform:translateY(-50%);background:#ffffffb3!important}.detail-thumbnails{-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);background:#ffffff73;border-radius:12px;align-items:center;gap:8px;max-width:calc(100% - 60px);padding:5px;display:flex;position:absolute;bottom:24px;left:50%;overflow:auto;transform:translate(-50%)}.detail-thumbnails button{opacity:.65;border:2px solid #0000;border-radius:7px;flex-shrink:0;width:48px;height:54px;padding:0;overflow:hidden}.detail-thumbnails button.active{opacity:1;border-color:#1b1b1b}.detail-thumbnails img{object-fit:cover;width:100%;height:100%}.detail-media-tools{color:#5a5a5a;align-items:center;gap:8px;font-size:12px;display:flex;position:absolute;bottom:24px;right:20px}.detail-info{background:var(--background);flex-direction:column;height:100%;padding:26px 20px 40px;display:flex;overflow-y:auto}.detail-author-row{align-items:center;gap:10px;margin-bottom:20px;display:flex}.author-avatar{background:var(--secondary);border-radius:50%;flex-shrink:0;place-items:center;width:38px;height:38px;display:grid;overflow:hidden}.author-avatar img{object-fit:cover;width:100%;height:100%}.detail-author-row>div{flex-direction:column;flex:1;gap:3px;min-width:0;display:flex}.detail-author-row strong{font-size:13px;font-weight:500}.detail-author-row>div>span{color:var(--subtle);font-size:11px}.detail-title{overflow-wrap:anywhere;margin-bottom:12px;font-size:17px;font-weight:600;line-height:1.5}.detail-meta{color:var(--subtle);align-items:center;gap:12px;margin-bottom:26px;font-size:11px;display:flex}.model-badge{white-space:nowrap;background:var(--secondary);color:var(--muted-foreground);border-radius:6px;align-items:center;gap:5px;padding:4px 7px;font-size:11px;display:inline-flex}.detail-prompt-heading{justify-content:space-between;align-items:center;margin-bottom:8px;display:flex}.detail-prompt-heading>span{color:var(--subtle);text-transform:uppercase;letter-spacing:.4px;font-size:12px;font-weight:700}.detail-prompt{white-space:pre-wrap;overflow-wrap:anywhere;-webkit-line-clamp:4;-webkit-box-orient:vertical;flex-shrink:0;font-size:14px;line-height:1.625;display:-webkit-box;overflow:hidden}.detail-prompt.expanded{display:block;overflow:visible}.expand-prompt{color:var(--subtle);text-align:left;margin-top:8px;padding:0;font-size:12px}.expand-prompt:hover{text-decoration:underline}.detail-tags{flex-wrap:wrap;gap:6px;margin:16px 0 22px;display:flex}.detail-tags>span{color:var(--subtle);background:var(--secondary);border-radius:6px;padding:5px 8px;font-size:11px}.detail-action-row{align-items:center;gap:8px;margin-bottom:14px;display:flex}.detail-action-row>.button{margin-right:auto}.favorited{color:#dc5a6e}.detail-create-actions{grid-template-columns:1fr 1fr;gap:8px;margin-bottom:28px;display:grid}.detail-create-actions .button{height:40px}.related-heading{margin-bottom:12px;font-size:13px;font-weight:500}.related-grid{grid-template-columns:repeat(3,1fr);gap:8px;display:grid}.related-grid button{border-radius:9px;height:145px;padding:0;overflow:hidden}.related-grid button:hover img{opacity:.8}[data-theme=dark] .detail-back,[data-theme=dark] .detail-prev,[data-theme=dark] .detail-next{color:#eee;background:#333b!important}.search-modal{flex-direction:column;width:820px;max-height:70dvh;padding:0;animation:.15s fade-in;display:flex;top:18%;overflow:hidden;transform:translate(-50%)}.search-modal>.modal-title,.search-modal>.modal-close{display:none}.search-input-row{border-bottom:1px solid var(--border);color:var(--subtle);flex-shrink:0;align-items:center;gap:12px;padding:16px 20px;display:flex}.search-input-row input{background:0 0;border:0;width:100%;padding:4px 0;font-size:16px;line-height:26px;outline:none!important}.search-input-row kbd{padding:3px 5px;font-size:10px}.search-body{min-height:0;padding:12px 20px;overflow:auto}.search-body section{margin:8px 0 22px}.search-section-title{color:var(--subtle);justify-content:space-between;align-items:center;margin-bottom:12px;font-size:12px;font-weight:500;display:flex}.search-section-title button{font-size:11px;font-weight:400}.search-image-strip{grid-template-columns:repeat(7,1fr);gap:8px;display:grid}.search-image-strip button{aspect-ratio:1;border-radius:8px;padding:0;overflow:hidden}.search-image-strip img{object-fit:cover;width:100%;height:100%}.recent-searches{flex-wrap:wrap;gap:8px;display:flex}.recent-searches>button{border:1px solid var(--border);color:var(--muted-foreground);border-radius:7px;align-items:center;gap:6px;padding:7px 10px;font-size:12px;display:flex}.recent-searches>button:hover{background:var(--secondary)}.search-empty{color:var(--subtle);flex-direction:column;justify-content:center;align-items:center;gap:10px;padding:35px 0 43px;display:flex}.search-empty p{font-size:13px}.search-empty span{opacity:.7;font-size:11px}.search-footer{border-top:1px solid var(--border);flex-shrink:0;align-items:center;gap:4px;padding:8px 14px;display:flex}.search-footer>span:last-child{color:var(--subtle);font-size:11px}.search-suggestions{flex-direction:column;gap:3px;padding:0 0 8px;display:flex}.search-suggestions>button,.search-query{text-align:left;color:var(--muted-foreground);border-radius:8px;align-items:center;gap:12px;width:100%;padding:10px;font-size:13px;display:flex}.search-suggestions>button>span,.search-query>span{white-space:nowrap;text-overflow:ellipsis;flex:1;min-width:0;overflow:hidden}.search-suggestions>button:hover,.search-suggestions>button.active,.search-query:hover{background:var(--secondary)}.color-swatches{flex-wrap:wrap;gap:14px;display:flex}.color-swatches>button{width:30px;height:30px;box-shadow:0 0 0 3px var(--background);outline:1px solid var(--border);border:1px solid #0001;border-radius:50%}.color-swatches>button:hover{transform:scale(1.15)}.search-results-header{border-bottom:1px solid var(--border);align-items:center;gap:10px;padding:16px;display:flex}.search-again{background:var(--secondary);width:min(600px,90%);color:var(--muted-foreground);text-align:left;border-radius:9px;align-items:center;gap:10px;padding:8px 12px;display:flex}.search-again>span{flex:1}.search-results-title{flex-wrap:wrap;align-items:center;gap:12px;padding:23px 20px 18px;display:flex}.search-results-title h1{font-size:20px;font-weight:600}.search-results-title>span{color:var(--subtle);font-size:12px}.search-filter{gap:6px;width:100%;margin-top:8px;display:flex;overflow:auto}.chip{color:var(--subtle);white-space:nowrap;border-radius:8px;padding:6px 11px;font-size:12px}.chip:hover,.chip.active{background:var(--secondary);color:var(--foreground)}.section-page-header{flex-shrink:0;justify-content:space-between;align-items:center;gap:12px;padding:28px 24px 20px;display:flex}.section-page-header h1{letter-spacing:-.4px;font-size:24px;font-weight:600}.section-page-header p{color:var(--subtle);margin-top:7px;font-size:12px}.favorites-toolbar{flex-shrink:0;align-items:center;gap:6px;padding:0 24px 18px;display:flex;overflow:auto}.folder-tab{white-space:nowrap;color:var(--subtle);border-radius:9px;align-items:center;gap:7px;padding:8px 12px;font-size:12px;display:flex}.folder-tab>span{opacity:.7;font-size:10px}.folder-tab.active,.folder-tab-wrap.active{background:var(--active);color:var(--foreground);border-radius:9px}.folder-tab-wrap{flex-shrink:0;align-items:center;display:flex}.folder-menu{place-items:center;height:30px;padding:0 9px 0 0;display:grid}.empty-state{text-align:center;flex-direction:column;justify-content:center;align-items:center;gap:13px;height:65%;min-height:400px;padding:40px 20px;display:flex}.empty-icon{background:var(--secondary);color:#9ca3af;border-radius:20px;place-items:center;width:70px;height:70px;margin-bottom:6px;display:grid}.empty-state h2{font-size:17px;font-weight:500}.empty-state p{color:var(--subtle);font-size:13px;line-height:1.6}.empty-state>.button{margin-top:8px}.history-header-tools{align-items:center;gap:6px;display:flex}.compact-search{background:var(--secondary);color:var(--subtle);border-radius:8px;align-items:center;gap:7px;margin-right:5px;padding:8px 10px;display:flex}.compact-search input{background:0 0;border:0;outline:none;width:160px;font-size:12px}.history-filter{width:180px;margin:0 24px 20px}.history-items{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;padding:0 8px;display:grid}.history-item{border:1px solid var(--border);border-radius:13px;min-width:0;padding:14px}.history-item-head{color:var(--subtle);align-items:center;gap:9px;margin-bottom:10px;font-size:11px;display:flex}.history-item-head>.icon-button{margin-left:auto}.demo-badge{color:#84709e;background:#f0ebff;border-radius:4px;padding:3px 5px;font-size:10px}.history-prompt{color:var(--muted-foreground);-webkit-line-clamp:2;white-space:pre-wrap;-webkit-box-orient:vertical;margin-bottom:14px;font-size:12px;line-height:1.7;display:-webkit-box;overflow:hidden}.history-results{border-radius:9px;gap:8px;min-height:180px;display:flex;overflow:hidden}.history-result{background:var(--secondary);border-radius:8px;flex:1;min-width:0;max-height:350px;padding:0;position:relative;overflow:hidden}.history-result img{object-fit:contain;width:100%;height:100%}.history-result>span{color:#444;opacity:0;background:#fffd;border-radius:7px;place-items:center;width:28px;height:28px;display:grid;position:absolute;bottom:8px;right:8px}.history-result:hover>span{opacity:1}.generation-processing,.generation-failed{background:var(--secondary);width:100%;color:var(--subtle);border-radius:9px;flex-direction:column;justify-content:center;align-items:center;gap:12px;font-size:12px;display:flex}.history-item-footer{color:var(--subtle);justify-content:space-between;align-items:center;padding-top:12px;font-size:11px;display:flex}.history-item-footer button{align-items:center;gap:4px;display:flex}.history-list{grid-template-columns:1fr}.history-list .history-results{justify-content:flex-start;height:230px}.history-list .history-result{max-width:230px}.history-empty{text-align:center;flex-direction:column;justify-content:center;align-items:center;gap:13px;height:100%;min-height:450px;display:flex}.history-empty img{object-fit:contain;width:200px;height:180px;margin-bottom:8px}.history-empty h2{font-size:20px;font-weight:500}.history-empty p{color:var(--subtle);font-size:13px}.history-empty>.button{margin-top:10px}.danger-button{color:#fff;background:#dc4d4d}.skills-page{height:100%;padding:42px 32px 110px;overflow:auto}.skills-heading h1{letter-spacing:-.7px;font-size:30px;font-weight:600;line-height:1.4}.skills-heading p{color:var(--subtle);margin-top:10px;font-size:14px}.skill-category-title{margin:36px 0 16px;font-size:14px;font-weight:500}.skills-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;display:grid}.skill-card{text-align:left;border:1px solid var(--border);background:var(--background);border-radius:16px;padding:0;transition:box-shadow .2s,transform .2s;overflow:hidden}.skill-card:hover{box-shadow:var(--float-shadow);transform:translateY(-3px)}.skill-card-visual{height:210px;position:relative;overflow:hidden}.skill-cover{object-fit:cover;width:100%;height:100%;transition:transform .4s}.skill-card:hover .skill-cover{transform:scale(1.04)}.skill-try{color:#333;opacity:0;background:#ffffffed;border-radius:9px;align-items:center;gap:5px;padding:7px 11px;font-size:12px;transition:opacity .2s;display:flex;position:absolute;bottom:12px;right:12px}.skill-card:hover .skill-try{opacity:1}.skill-card-info{align-items:center;gap:10px;padding:18px 15px;display:flex}.skill-card-info>div{flex:1;min-width:0}.skill-icon{object-fit:contain;border-radius:10px;width:38px;height:38px}.skill-card-info h2{align-items:center;gap:7px;font-size:15px;font-weight:500;display:flex}.skill-card-info p{color:var(--subtle);margin-top:5px;font-size:11px;line-height:1.5}.skill-card-info>svg{color:var(--subtle)}.new-badge{color:#2689f8;font-size:9px;font-style:italic}.legal-page{max-width:850px;height:100%;margin:auto;padding:48px 45px 100px;font-size:14px;line-height:1.9;overflow:auto}.legal-page h1{margin-bottom:9px;font-size:28px;font-weight:600}.legal-page h2{margin:26px 0 8px;font-size:17px;font-weight:500}.legal-page>p{color:var(--muted-foreground)}.local-login{border-top:1px solid var(--border);text-align:center;margin-top:20px;padding-top:14px}.local-login p{color:var(--subtle);margin-bottom:7px;font-size:11px}.local-login button{color:var(--foreground);align-items:center;font-size:12px;display:inline-flex}.settings-modal{width:820px;padding:0;overflow:hidden}.settings-modal>.modal-title{display:none}.settings-layout{grid-template-columns:200px 1fr;min-height:450px;max-height:80dvh;display:grid}.settings-nav{background:var(--muted);padding:25px 12px}.settings-nav h2{margin:0 12px 24px;font-size:18px;font-weight:600}.settings-nav>button{text-align:left;width:100%;color:var(--muted-foreground);border-radius:8px;align-items:center;gap:9px;margin-bottom:4px;padding:10px 12px;font-size:13px;display:flex}.settings-nav>button.active{background:var(--active);color:var(--foreground)}.settings-content{padding:30px;overflow:auto}.settings-content h2{margin-bottom:27px;font-size:18px;font-weight:600}.setting-row{border-bottom:1px solid var(--border);justify-content:space-between;align-items:center;gap:18px;padding:18px 0;display:flex}.setting-row strong{font-size:13px;font-weight:500}.setting-row p{color:var(--subtle);margin-top:5px;font-size:11px;line-height:1.5}.settings-note{color:var(--subtle);align-items:center;gap:6px;margin-top:20px;font-size:11px;line-height:1.7;display:flex}.settings-profile{align-items:center;gap:13px;margin-bottom:26px;display:flex}.settings-profile strong{font-size:15px}.settings-profile p{color:var(--subtle);margin-top:4px;font-size:12px}.usage-card{border:1px solid var(--border);border-radius:12px;padding:18px}.usage-card strong{font-size:14px;font-weight:500}.usage-card p{color:var(--subtle);margin:7px 0 20px;font-size:12px}.usage-card>div{border-top:1px solid var(--border);justify-content:space-between;padding:10px 0;font-size:12px;display:flex}.usage-card b{font-weight:500}.editor-modal{border-radius:20px;flex-direction:column;width:calc(100vw - 32px);height:calc(100dvh - 32px);max-height:none;padding:0;animation:.15s fade-in;display:flex;top:16px;right:16px;bottom:16px;left:16px;overflow:hidden;transform:none}.editor-modal>.modal-title,.editor-modal>.modal-close{display:none}.editor-header{border-bottom:1px solid var(--border);flex-shrink:0;align-items:center;gap:10px;height:64px;padding:0 20px;display:flex}.editor-header h2{font-size:15px;font-weight:500}.editor-body{flex:1;min-height:0;display:flex}.editor-tools{border-right:1px solid var(--border);flex-direction:column;align-items:center;gap:8px;width:76px;padding:18px 10px;display:flex}.editor-tools>button{width:54px;height:61px;color:var(--subtle);border-radius:10px;flex-direction:column;justify-content:center;align-items:center;gap:6px;display:flex}.editor-tools>button span{font-size:10px}.editor-tools>button.active,.editor-tools>button:hover{background:var(--secondary);color:var(--foreground)}.editor-stage{background:repeating-conic-gradient(var(--secondary) 0 25%,var(--muted) 0 50%) 50%/20px 20px;flex:1;justify-content:center;align-items:center;min-width:0;padding:40px;display:flex;position:relative;overflow:auto}.editor-canvas-wrap{transform-origin:50%;justify-content:center;align-items:center;max-width:100%;max-height:100%;transition:transform .1s;display:flex}.editor-stage canvas{object-fit:contain;background:0 0;max-width:100%;max-height:calc(100dvh - 200px);box-shadow:0 5px 35px #0001}.editor-zoom{background:var(--background);border:1px solid var(--border);border-radius:9px;align-items:center;gap:7px;padding:3px;font-size:11px;display:flex;position:absolute;bottom:20px;left:50%;transform:translate(-50%)}.editor-options{border-left:1px solid var(--border);flex-shrink:0;width:260px;padding:25px 20px;overflow:auto}.editor-options h3{margin-bottom:25px;font-size:15px;font-weight:500}.editor-options .muted{font-size:11px;line-height:1.7}.editor-transform{gap:10px;margin:20px 0;display:flex}.range-field{flex-direction:column;gap:12px;margin-bottom:25px;font-size:12px;display:flex}.range-field>span{justify-content:space-between;display:flex}.range-field b{color:var(--subtle);font-weight:400}.range-field input{width:100%;accent-color:var(--foreground);height:4px}.editor-options input[type=color]{border:1px solid var(--border);background:var(--background);border-radius:6px;width:100%;height:35px}@media(min-width:1800px){.category-scroll{max-height:250px}.skill-card-visual{height:260px}}@media(max-width:1350px){.with-creator .gallery-header{flex-wrap:wrap;gap:6px}.with-creator .sort-tabs{margin-left:auto}.with-creator .model-tab{padding:8px}.with-creator .skills-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.skills-grid{gap:16px}.skill-card-visual{height:180px}.skill-card-info{padding:14px 12px}.skill-card-info p{font-size:10px}.detail-modal{grid-template-columns:minmax(0,1fr) 420px}}@media(max-width:1100px){.gallery-header{flex-wrap:wrap;gap:5px}.sort-tabs{margin-left:auto}.with-creator .main-shell{margin-right:0}.creator-panel{box-shadow:var(--panel-shadow)}.skills-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.skill-card-visual{height:200px}.detail-modal{grid-template-columns:minmax(0,1fr) 380px}.detail-media{padding:50px 35px 100px}.history-items{grid-template-columns:1fr}.history-header-tools .compact-search input{width:110px}.with-creator .content-panel:after{content:"";z-index:10;pointer-events:none;background:#0002;position:absolute;top:0;right:0;bottom:0;left:0}.with-creator .dock{z-index:35}}@media(max-width:767px){body{overflow:hidden}.sidebar{z-index:71;width:256px;transition:transform .2s;transform:translate(-100%)}.sidebar.sidebar-open{transform:none}.sidebar-backdrop.visible{z-index:70;background:#0005;display:block;position:fixed;top:0;right:0;bottom:0;left:0}.brand{height:68px}.category-scroll{max-height:calc(100dvh - 400px)}.main-shell,.with-creator .main-shell{margin:0;padding:0}.mobile-header{background:var(--card);border-bottom:1px solid var(--border);align-items:center;gap:8px;height:56px;padding:8px 12px;display:flex}@supports (color:color-mix(in lab,red,red)){.mobile-header{border-bottom:1px solid color-mix(in srgb,var(--border) 50%,transparent)}}.mobile-header .brand-logo{width:137px}.content-panel{border-radius:0;height:calc(100dvh - 56px)}.gallery-header{flex-wrap:wrap;gap:7px;min-height:0;padding:10px 8px 8px}.model-tabs{width:100%}.model-tab{border-radius:9px;gap:5px;padding:8px 10px;font-size:12px}.model-tab svg{width:14px;height:14px}.model-tab:first-child{font-size:12px}.sort-tabs{margin-left:auto}.sort-tabs>button{height:29px;padding:4px 10px;font-size:11px}.gallery-scroll{padding:0 8px 100px}.masonry,.masonry-column{gap:8px}.gallery-card{border-radius:10px}.card-caption{padding:30px 8px 8px}.card-caption p{font-size:11px}.card-author{display:none}.card-actions-top{gap:4px;top:6px;right:6px}.card-round{width:29px;height:29px}.gallery-card:active .card-caption{opacity:1}.dock{bottom:max(12px,env(safe-area-inset-bottom));border:1px solid #fff6;border-radius:16px;gap:10px;height:58px;padding:9px 12px}.dock-item{width:36px;height:36px}.dock-item svg{width:19px;height:19px}.dock-item:hover{transform:none}.creator-panel{z-index:61;border-radius:20px;width:min(375px,100vw - 16px);inset:8px 8px 8px auto;box-shadow:0 0 0 100vmax #0004}.creator-panel:not(.open){box-shadow:none}.with-creator .content-panel:after{display:none}.modal{max-height:calc(100dvh - 24px);padding:24px 20px}.search-modal{width:calc(100% - 20px);max-height:80dvh;padding:0;top:8%}.search-input-row{gap:8px;padding:12px 14px}.search-input-row input{font-size:14px}.search-input-row kbd{display:none}.search-body{padding:8px 14px}.search-image-strip{grid-template-columns:repeat(5,1fr)}.search-image-strip>button:nth-child(n+6){display:none}.search-empty{padding:30px 0}.detail-modal{background:var(--background);width:100vw;height:100dvh;max-height:none;padding:0;display:block;top:0;right:0;bottom:0;left:0;overflow-y:auto;transform:none}.detail-viewer{background:var(--secondary);height:58dvh;min-height:340px}.detail-media{padding:25px 25px 85px}.detail-info{height:auto;min-height:45dvh;padding:22px 18px 40px;overflow:visible}.detail-back{top:12px;left:12px}.detail-thumbnails{bottom:15px}.detail-media-tools{bottom:15px;right:10px}.detail-thumbnails button{width:35px;height:40px}.detail-action-row{position:relative}.related-grid{grid-template-columns:repeat(3,1fr)}.related-grid button{height:140px}.detail-title{font-size:16px}.section-page-header{padding:22px 16px 18px}.section-page-header h1{font-size:22px}.section-page-header p{font-size:11px}.section-page-header>.button{padding:7px 9px;font-size:11px}.favorites-toolbar{padding:0 16px 15px}.folder-tab{padding:7px 9px;font-size:11px}.history-header-tools .compact-search{display:none}.history-filter{margin:0 16px 16px}.history-items{gap:12px;padding:0 6px}.history-empty{min-height:380px;padding:10px 20px}.history-empty p{font-size:12px}.skills-page{padding:28px 16px 100px}.skills-heading h1{letter-spacing:-.5px;font-size:24px}.skills-heading p{font-size:12px}.skill-category-title{margin-top:28px;font-size:13px}.skills-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.skill-card-visual{height:145px}.skill-card{border-radius:12px}.skill-card-info{align-items:flex-start;gap:7px;padding:12px 10px}.skill-icon{border-radius:7px;width:29px;height:29px}.skill-card-info h2{font-size:12px}.skill-card-info p{font-size:10px;line-height:1.6}.skill-card-info>svg,.new-badge,.skill-try{display:none}.skill-category-title{margin-bottom:12px}.settings-modal{padding:0}.settings-layout{grid-template-columns:125px 1fr;min-height:440px;max-height:85dvh}.settings-nav{padding:25px 8px}.settings-nav h2{margin-left:8px;font-size:17px}.settings-nav>button{gap:6px;padding:10px 7px;font-size:11px}.settings-nav>button>svg{width:14px}.settings-content{padding:24px 16px}.settings-content h2{font-size:16px}.setting-row{flex-direction:column;align-items:flex-start;gap:12px}.settings-content .select-trigger{width:100%}.legal-page{padding:30px 22px 100px;font-size:13px}.legal-page h1{font-size:24px}.search-results-title{padding:18px 14px}.search-results-title h1{font-size:18px}.search-results-header{padding:12px 8px}.search-again{width:100%;font-size:12px}.search-again kbd{display:none}.empty-state{min-height:350px}.empty-state p{font-size:12px}.asset-grid{grid-template-columns:repeat(3,1fr)}.editor-modal{border-radius:0;width:100vw;height:100dvh;max-height:none;padding:0;top:0;right:0;bottom:0;left:0;transform:none}.editor-header{gap:5px;height:56px;padding:0 10px}.editor-header>.button{padding:6px 9px;font-size:11px}.editor-body{flex-wrap:wrap;position:relative}.editor-tools{width:58px;padding:12px 4px}.editor-tools>button{width:47px;height:54px}.editor-stage{width:calc(100% - 58px);height:58%;padding:15px}.editor-canvas-wrap canvas{max-height:calc(55dvh - 60px)}.editor-options{border-top:1px solid var(--border);border-left:0;flex-direction:column;width:100%;height:42%;padding:18px 22px;display:flex}.editor-options h3{margin-bottom:15px}.range-field{margin-bottom:18px}.editor-zoom{bottom:10px}.toaster{bottom:82px;right:12px}.active-filter{padding:0 8px 10px;font-size:11px}}@media(prefers-reduced-motion:reduce){*,:before,:after{scroll-behavior:auto!important;transition-duration:.01ms!important;animation-duration:.01ms!important;animation-iteration-count:1!important}}.brand{height:60px;padding:32px 14px 8px 22px}.brand-wordmark{flex-shrink:0;align-items:center;gap:8px;display:inline-flex}.brand-logo{max-width:none;height:20px;width:auto!important}.gallery-wordmark{width:auto;max-width:none;height:16px}.sidebar-body{padding-top:8px}[data-theme=dark] .gallery-wordmark{filter:invert()}@media(max-width:767px){.brand{height:60px}.mobile-header .brand-wordmark{gap:6px}.mobile-header .brand-logo{height:18px}.mobile-header .gallery-wordmark{height:14px}}.masonry{display:block;position:relative}.masonry-cell{content-visibility:auto;position:absolute}.masonry-cell .gallery-card{width:100%;height:100%}.masonry-cell .card-open{height:100%}.gallery-card{border-radius:12px}.gallery-card:after{content:"";z-index:1;pointer-events:none;opacity:0;background:linear-gradient(#0000,#0003,#000c);transition:opacity .3s;position:absolute;top:0;right:0;bottom:0;left:0}.gallery-card:hover:after,.gallery-card:focus-within:after{opacity:1}.card-open>img{transition:transform .5s ease-out}.gallery-card:hover .card-open>img{transform:scale(1.02)}.card-caption{z-index:2;background:0 0;flex-direction:column;gap:10px;padding:0;transition:opacity .3s;display:flex;inset:auto 16px 16px}.card-author{color:#fff;opacity:1;align-items:center;gap:8px;min-width:0;font-size:14px;display:flex}.card-author-avatar{background:#ffffff25;border-radius:50%;flex-shrink:0;place-items:center;width:32px;height:32px;display:grid;overflow:hidden}.card-author-avatar>img{object-fit:cover;width:100%;height:100%}.card-author>div{flex-direction:column;gap:2px;min-width:0;display:flex}.card-author strong{white-space:nowrap;text-shadow:0 1px 4px #0004;text-overflow:ellipsis;align-items:center;gap:4px;font-size:14px;font-weight:600;display:flex;overflow:hidden}.card-author>div>span{color:#ffffffb3;font-size:12px}.card-bottom{align-items:flex-end;gap:8px}.recreate-button{color:#111;-webkit-backdrop-filter:none;backdrop-filter:none;background:#fff;border:0;border-radius:8px;gap:6px;padding:6px 12px;font-size:12px;font-weight:500;line-height:18px}.recreate-button:hover{background:#ffffffe6}.card-favorite,.card-source{pointer-events:auto;color:#fff;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);background:#1b1b1b1a;border-radius:8px;justify-content:center;align-items:center;gap:6px;padding:8px;display:flex}.card-favorite:hover,.card-source:hover{background:#1b1b1b33}.card-favorite>span{font-variant-numeric:tabular-nums;font-size:12px;font-weight:600}.card-favorite.is-favorite{color:#222;background:#fff}.card-favorite.is-favorite svg{color:#ef4444}.card-video-preview{object-fit:cover;width:100%;height:100%;position:absolute;top:0;right:0;bottom:0;left:0}.video-badge{z-index:2;pointer-events:none;background:#0006;border-radius:50%;place-items:center;width:20px;height:20px;padding:0;display:grid;top:8px;left:auto;right:8px}.gallery-card:hover .video-badge{opacity:0}.artwork-drag-preview{object-fit:cover;pointer-events:none;border-radius:10px;width:112px;height:140px;position:fixed;top:-1000px;left:-1000px;box-shadow:0 8px 20px #0004}.popover-content{z-index:150;background:var(--background);color:var(--foreground);border:1px solid var(--border);box-shadow:var(--panel-shadow);border-radius:12px;outline:none;animation:.12s fade-in}.detail-info{min-height:0;padding:0;overflow:hidden}.detail-info-header{flex-shrink:0;padding:20px 20px 16px}.detail-author-row{align-items:center;gap:12px;margin:0}.detail-author-row>.detail-author{flex-direction:row;flex:1;align-items:center;gap:12px;min-width:0;display:flex}.detail-author>div{flex-direction:column;gap:3px;min-width:0;display:flex}.detail-author strong{text-overflow:ellipsis;white-space:nowrap;align-items:center;gap:4px;font-size:14px;font-weight:600;display:flex;overflow:hidden}.detail-author>div>span{color:var(--subtle);font-size:12px}.detail-author[href]:hover{opacity:.8}.author-avatar{width:40px;height:40px}.detail-model{color:var(--muted-foreground);white-space:nowrap;align-items:center;gap:6px;margin-left:auto;font-size:14px;display:inline-flex}.detail-action-row{gap:4px;margin:12px 0 0 -8px}.detail-action{height:40px;color:var(--muted-foreground);border-radius:999px;justify-content:center;align-items:center;gap:6px;padding:0 12px;font-size:14px;display:inline-flex}.detail-action:hover{background:var(--secondary);color:var(--foreground)}.detail-action.favorited svg{color:#ef4444}.detail-info-scroll{overscroll-behavior:contain;flex:1;min-height:0;padding:0 20px 24px;overflow-y:auto}.detail-prompt-heading{margin-bottom:8px}.detail-prompt{flex-shrink:initial;line-height:1.625}.detail-prompt-controls{align-items:center;gap:14px;min-height:22px;margin-top:6px;display:flex}.detail-prompt-controls .expand-prompt{margin:0}.related-heading{margin:24px 0 12px;font-size:14px;font-weight:500}.related-grid{align-items:flex-start;gap:8px;display:flex}.related-grid>div{flex-direction:column;flex:1;gap:8px;min-width:0;display:flex}.related-grid a{background:var(--secondary);border-radius:12px;width:100%;padding:0;display:block;overflow:hidden}.related-grid a:focus-visible{outline-offset:2px}.related-grid img{object-fit:contain;width:100%;height:auto;transition:none}.detail-create-actions{border-top:1px solid var(--border);flex-direction:column;flex-shrink:0;gap:8px;margin:0;padding:16px 20px 20px;display:flex}@supports (color:color-mix(in lab,red,red)){.detail-create-actions{border-top:1px solid color-mix(in srgb,var(--border) 50%,transparent)}}.detail-create-actions{background:var(--background)}.detail-create-actions>div{grid-template-columns:1fr 1fr;gap:8px;display:grid}.detail-create-actions .button{border-radius:10px;height:40px;font-size:14px}.detail-create-actions .detail-edit-button{background:var(--secondary);width:100%;box-shadow:none;color:var(--foreground);border:0}.detail-viewer.has-thumbnails .detail-media{padding:64px 128px 64px 48px}.detail-media{padding:64px 48px}.detail-media img,.detail-media video{cursor:default;max-height:calc(100dvh - 128px);box-shadow:none;border-radius:16px}.detail-thumbnails{-webkit-backdrop-filter:none;backdrop-filter:none;background:0 0;border-radius:12px;flex-direction:column;gap:8px;max-width:none;max-height:calc(100dvh - 128px);padding:0;inset:50% 24px auto auto;overflow:hidden auto;transform:translateY(-50%)}.detail-thumbnails button{opacity:.7;background:#fff;border:2px solid #ffffff4d;border-radius:12px;width:80px;height:80px}.detail-thumbnails button:hover{opacity:.9}.detail-thumbnails button.active{opacity:1;border-color:#fff;box-shadow:0 8px 15px #0002}.detail-prev,.detail-next{border:1px solid #0000001a;width:36px;height:36px;box-shadow:0 1px 2px #0000000d}.detail-prev{left:16px}.detail-next{right:16px}.detail-media-tools{color:#1b1b1b;z-index:3;gap:8px;top:16px;bottom:auto;right:16px}.detail-page-count{color:#555;padding:0 4px;font-size:13px}.detail-tool-round{background:#fffc;border:1px solid #0000001a;border-radius:50%;place-items:center;width:36px;height:36px;display:grid;box-shadow:0 1px 2px #0000000d}.detail-tool-round:hover{background:#fff}.detail-media-tools .detail-back{color:#444;border:1px solid #0000001a;border-radius:999px;align-items:center;gap:8px;width:auto;height:36px;padding:0 8px 0 12px;display:flex;position:static;box-shadow:0 1px 2px #0000000d;background:#fffc!important}.detail-back>span{font-size:12px}.detail-back>i{background:#0003;width:1px;height:16px}.detail-load-error{color:var(--subtle);flex-direction:column;align-items:center;gap:12px;font-size:13px;display:flex}.share-popover{width:360px;max-width:calc(100vw - 32px);padding:20px}.share-popover h3{text-align:center;margin:0 0 16px;font-size:16px;font-weight:700}.share-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;display:grid}.share-grid>button,.share-grid>a{text-align:center;flex-direction:column;align-items:center;gap:8px;font-size:11px;display:flex}.share-grid>button>span,.share-grid>a>span{background:var(--secondary);border-radius:50%;place-items:center;width:44px;height:44px;display:grid}.share-grid .whatsapp{color:#fff;background:#25d366}.share-grid .facebook{color:#fff;background:#1877f2}.share-grid .share-x{color:#fff;background:#111;font-size:23px}.search-input-row{gap:8px;padding:16px 20px}.search-input-row>input{flex:1;width:0;min-width:0;font-size:20px}.search-input-row>svg{margin-right:4px}.search-body{flex:1;height:480px;padding:16px 20px}.search-input-row .icon-button{color:var(--subtle);width:32px;height:32px}.search-color-picker-button{border-radius:8px;flex-shrink:0;place-items:center;width:32px;height:32px;display:grid;position:relative}.search-color-picker-button:hover{background:var(--secondary)}.color-wheel{background:conic-gradient(red,#ff0,#0f0,#0ff,#00f,#f0f,red);border-radius:50%;width:22px;height:22px;display:block;box-shadow:inset 0 0 0 1px #0000000a}.search-color-picker-button>i{border:2px solid var(--background);border-radius:50%;width:9px;height:9px;position:absolute;bottom:1px;right:1px}.color-picker-popover{z-index:10010;border-radius:12px;width:min(100vw - 32px,336px);max-height:min(70dvh,560px);padding:8px;overflow:auto}.color-picker-row{flex-wrap:nowrap;justify-content:space-between;gap:0;margin-bottom:4px;display:flex}.color-picker-row>button{color:#fff;text-shadow:0 1px 2px #000;border:0;border-radius:6px;flex-shrink:0;place-items:center;width:24px;height:24px;transition:transform .1s;display:grid}.color-picker-row>button:hover{transform:scale(1.12);box-shadow:0 0 0 1px #0003}.color-picker-row>button[aria-pressed=true]{outline:2px solid var(--foreground);outline-offset:1px}.color-picker-description{color:var(--subtle);padding:4px 2px 0;font:10px/16px ui-monospace,monospace}.search-color-tag{background:var(--secondary);border-radius:7px;flex-shrink:0;align-items:center;gap:6px;max-width:120px;padding:4px 6px;font-size:11px;display:inline-flex}.search-color-tag>i{border:1px solid #0001;border-radius:50%;flex-shrink:0;width:12px;height:12px}.search-color-tag>span{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.search-color-tag>button{color:var(--subtle);place-items:center;padding:0;display:grid}.search-empty-message{height:100%;color:var(--subtle);justify-content:center;align-items:center;font-size:14px;display:flex}.recent-search-chip{border:1px solid var(--border);color:var(--muted-foreground);border-radius:7px;align-items:center;font-size:12px;display:inline-flex}.recent-search-chip>button:first-child{align-items:center;gap:6px;padding:7px 8px 7px 10px;display:flex}.recent-search-chip>button:last-child{width:24px;height:24px;color:var(--subtle);opacity:0;place-items:center;display:grid}.recent-search-chip:hover>button:last-child,.recent-search-chip:focus-within>button:last-child{opacity:1}.search-image-strip>a{aspect-ratio:1;border-radius:8px;padding:0;overflow:hidden}.query-color-dot{border-radius:50%;flex-shrink:0;width:12px;height:12px}.search-results-form{background:0 0;gap:8px;width:min(760px,100%);padding:0}.search-results-form>input:not([type=file]){background:0 0;border:0;outline:none;flex:1;width:0;min-width:0;padding:7px 0;font-size:15px}.search-results-form .search-color-picker-button{margin-left:auto}.reference-drop-active{background:#91a8e7;box-shadow:inset 0 0 0 2px #91a8e7}@supports (color:color-mix(in lab,red,red)){.reference-drop-active{background:color-mix(in srgb,#91a8e7 12%,var(--secondary))}}.prompt-drop-active{box-shadow:inset 0 0 0 2px #c4b5fd}.drop-help{color:var(--subtle);padding:0 4px;font-size:11px;line-height:1.6}.mention-popover{width:270px;max-height:300px;padding:5px;overflow:auto}.mention-item{text-align:left;border-radius:7px;align-items:center;gap:8px;width:100%;padding:7px;font-size:12px;display:flex}.mention-item:hover{background:var(--secondary)}.mention-item img{object-fit:cover;border-radius:5px;width:32px;height:32px}.mention-item>span{white-space:nowrap}.mention-item small{white-space:nowrap;text-overflow:ellipsis;color:var(--subtle);font-size:10px;overflow:hidden}.mention-empty{text-align:center;color:var(--subtle);padding:12px;font-size:12px}.mention-empty>button{color:var(--foreground);margin:9px auto 0;font-size:12px;display:block}.dock-item{width:var(--dock-size,40px);height:var(--dock-size,40px);transition:width .18s cubic-bezier(.2,.7,.3,1),height .18s cubic-bezier(.2,.7,.3,1),background .15s;transform:none}.dock-item:hover{transform:none}.dock-item>svg{width:calc(var(--dock-size,40px) / 2);height:calc(var(--dock-size,40px) / 2)}.dock-item.active-video{color:#a855f7;background:#c084fc15}.dock-item.active-image{background:linear-gradient(135deg,#dbeafe,#f5e6f0,#ffedd5)}.back-to-top{z-index:44;background:var(--card);border:1px solid var(--border);width:40px;height:40px;box-shadow:var(--float-shadow);border-radius:50%;position:fixed;bottom:30px;right:30px}@media(max-width:767px){.card-caption,.gallery-card:after{display:none}.detail-media,.detail-viewer.has-thumbnails .detail-media{padding:48px 20px 76px}.detail-media img,.detail-media video{border-radius:12px;max-height:calc(58dvh - 110px)}.detail-thumbnails{flex-direction:row;max-width:calc(100% - 72px);max-height:none;inset:auto auto 12px 50%;overflow:auto hidden;transform:translate(-50%)}.detail-thumbnails button{border-radius:7px;width:42px;height:48px}.detail-media-tools{gap:5px;top:10px;right:10px}.detail-tool-round{width:32px;height:32px}.detail-media-tools .detail-back{height:32px}.detail-info{height:auto;min-height:45dvh;overflow:visible}.detail-info-header{padding:20px 18px 14px}.detail-info-scroll{padding:0 18px 24px;overflow:visible}.detail-model{font-size:12px}.detail-create-actions{z-index:3;padding:12px 18px 18px;position:sticky;bottom:0}.related-grid{display:flex}.related-grid img{height:auto}.search-input-row{gap:5px;padding:12px 10px}.search-input-row>input{font-size:16px}.search-body{height:420px;padding:12px 16px}.search-color-tag>span{display:none}.search-color-tag{gap:4px;padding:4px}.search-results-form{width:100%}.search-results-form>input:not([type=file]){font-size:14px}.dock-item{width:36px;height:36px}.dock-item>svg{width:19px;height:19px}.back-to-top{width:35px;height:35px;bottom:85px;right:14px}}@media(min-width:768px){.detail-modal{grid-template-columns:minmax(0,1fr) 480px}.with-creator .main-shell{margin-right:391px}.with-creator .content-panel:after{display:none}.with-creator .dock{z-index:45}.creator-panel{box-shadow:none}.with-creator .back-to-top{right:421px}}@property --tw-rotate-x{syntax:"*";inherits:false}@property --tw-rotate-y{syntax:"*";inherits:false}@property --tw-rotate-z{syntax:"*";inherits:false}@property --tw-skew-x{syntax:"*";inherits:false}@property --tw-skew-y{syntax:"*";inherits:false}@property --tw-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-shadow-color{syntax:"*";inherits:false}@property --tw-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-inset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-shadow-color{syntax:"*";inherits:false}@property --tw-inset-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-ring-color{syntax:"*";inherits:false}@property --tw-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-ring-color{syntax:"*";inherits:false}@property --tw-inset-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-ring-inset{syntax:"*";inherits:false}@property --tw-ring-offset-width{syntax:"<length>";inherits:false;initial-value:0}@property --tw-ring-offset-color{syntax:"*";inherits:false;initial-value:#fff}@property --tw-ring-offset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-outline-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-blur{syntax:"*";inherits:false}@property --tw-brightness{syntax:"*";inherits:false}@property --tw-contrast{syntax:"*";inherits:false}@property --tw-grayscale{syntax:"*";inherits:false}@property --tw-hue-rotate{syntax:"*";inherits:false}@property --tw-invert{syntax:"*";inherits:false}@property --tw-opacity{syntax:"*";inherits:false}@property --tw-saturate{syntax:"*";inherits:false}@property --tw-sepia{syntax:"*";inherits:false}@property --tw-drop-shadow{syntax:"*";inherits:false}@property --tw-drop-shadow-color{syntax:"*";inherits:false}@property --tw-drop-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-drop-shadow-size{syntax:"*";inherits:false}[data-theme=dark]{--secondary: #333;--muted-foreground: #bfbfbf;--subtle: #8c8c8c}.dock-item{transition:background .15s}.poster-style-choices{grid-template-columns:repeat(2,minmax(0,1fr))}.poster-style-choices button{padding:0;overflow:hidden;display:flex;flex-direction:column;justify-content:center;align-items:center;min-height:54px}.poster-style-choices img{width:100%;aspect-ratio:4/3;object-fit:cover}.poster-style-choices span{padding:7px;font-size:12px}.gif-timing-control{display:flex;flex-direction:column;gap:12px;font-size:13px;padding:6px}.gif-timing-control input{width:100%;accent-color:var(--foreground)}.gif-timing-control small{color:var(--subtle)}.model-load-error{display:flex;align-items:center;gap:10px;padding:10px;font-size:12px;color:var(--subtle)}.model-load-error button{margin-left:auto;text-decoration:underline}.generation-control-grid{display:flex;flex-wrap:wrap;gap:12px;align-items:flex-start;flex-shrink:0}.generation-option-field{display:flex;flex-direction:column;align-items:flex-start;gap:6px;min-width:0}.generation-option-field>span,.audio-option>span:first-child{font-size:12px;line-height:16px;color:var(--subtle);font-weight:500}.generation-option-trigger{height:32px;max-width:100%;display:flex;align-items:center;gap:8px;padding:0 12px;border:1px solid var(--border);border-radius:10px;background:var(--background);font-size:14px;line-height:20px}.generation-option-trigger:hover{background:var(--secondary)}.generation-option-trigger>svg:last-child{opacity:.6}.generation-option-menu{z-index:160;width:260px;max-height:min(560px,var(--radix-popover-content-available-height));overflow:auto;padding:12px;border-radius:18px;border:0;background:var(--background);color:var(--foreground);box-shadow:var(--panel-shadow);outline:none}.generation-option-menu h3{font-size:14px;font-weight:600;margin:0 0 8px}.option-choices{display:flex;flex-direction:column;gap:3px}.option-choice{display:flex;align-items:center;gap:10px;min-height:40px;padding:8px 10px;border-radius:10px;text-align:left;font-size:14px}.option-choice:hover{background:var(--secondary)}.option-choice-text{flex:1;display:flex;flex-direction:column;gap:2px;min-width:0}.option-choice small{font-size:12px;line-height:16px;color:var(--subtle);font-weight:400}.option-choice>svg:last-child{color:#3b82f6;margin-left:auto;flex-shrink:0}.ratio-option-menu{width:320px}.ratio-choices{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:6px}.ratio-choices .option-choice{flex-direction:column;justify-content:center;gap:8px;min-height:76px;border:1px solid transparent;padding:8px 4px;font-size:12px;position:relative}.ratio-choices .option-choice.selected{border-color:var(--foreground);background:var(--secondary)}.ratio-choices .option-choice>svg:last-child{display:none}.ratio-preview{display:grid;place-items:center;height:28px;width:32px}.ratio-preview i{display:block;border:1.5px solid currentColor;border-radius:2px}.option-sheet-overlay{position:fixed;top:0;right:0;bottom:0;left:0;z-index:190;background:#0006;-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px)}.option-sheet{position:fixed;bottom:0;left:0;right:0;z-index:191;max-height:85dvh;display:flex;flex-direction:column;padding:12px 16px calc(env(safe-area-inset-bottom) + 24px);border-radius:24px 24px 0 0;background:var(--background);color:var(--foreground);outline:none;animation:sheet-enter .2s ease-out}.sheet-handle{width:40px;height:4px;border-radius:4px;background:color-mix(in srgb,var(--subtle) 40%,transparent);margin:0 auto 12px}.option-sheet>h2{font-size:20px;font-weight:700;text-align:center;margin:4px 0 16px}.option-sheet-scroll{min-height:0;overflow:auto;overscroll-behavior:contain;padding:4px 8px}.sheet-cancel{min-height:44px;margin-top:16px;border-radius:14px;background:var(--secondary);font-size:16px;font-weight:500;flex-shrink:0}.mobile-model-choices .generation-model-item{width:100%;padding:12px 8px;text-align:left}.mobile-model-choices .model-item-copy{flex:1}.mobile-model-choices .generation-model-item[aria-checked=true]>svg{color:#3b82f6}@keyframes sheet-enter{0%{transform:translateY(40px);opacity:0}to{transform:translateY(0);opacity:1}}.reference-mode-tabs,.reference-kind-tabs{display:flex;gap:4px;margin-bottom:10px}.reference-mode-tabs{border-radius:10px;padding:3px;background:var(--secondary)}.reference-mode-tabs>button{flex:1;padding:6px 10px;border-radius:8px;color:var(--subtle);font-size:13px}.reference-mode-tabs>button.active{background:var(--background);box-shadow:0 1px 3px #0001;color:var(--foreground)}.reference-kind-tabs>button{padding:4px 10px;border-radius:8px;color:var(--subtle);font-size:12px}.reference-kind-tabs>button.active{background:var(--secondary);color:var(--foreground)}.reference-caption{display:flex;align-items:center;justify-content:space-between;padding:8px 4px 0;gap:8px;color:var(--subtle);font-size:11px}.reference-caption button{display:flex;align-items:center;gap:4px}.reference-list video{width:100%;height:100%;object-fit:cover}.reference-list>div:has(>svg){display:grid;place-items:center}.reference-list>div>span{white-space:nowrap;min-width:18px;width:auto;padding:0 3px;font-size:9px}.reference-unavailable{padding:18px 10px;font-size:12px;line-height:20px;color:var(--subtle);text-align:center}.reference-warning,.skill-error{padding:10px 12px;border-radius:10px;background:#ef44440c;color:#d04444;font-size:12px;line-height:20px}.reference-warning button,.skill-error button{text-decoration:underline;margin-left:8px}.audio-option{display:flex;flex-direction:column;gap:6px;font-size:13px}.audio-option>span:last-child{height:32px;display:flex;align-items:center;gap:8px}.audio-option .switch{width:32px;height:18px}.audio-option .switch-thumb{width:14px;height:14px}.audio-option .switch-thumb[data-state=checked]{transform:translate(14px)}.mj-reference-settings{display:flex;gap:12px;flex-direction:column}.mj-reference-settings>label{display:flex;align-items:center;gap:10px;color:var(--subtle);font-size:12px}.mj-reference-settings input{min-width:0;flex:1;border:1px solid var(--border);border-radius:8px;padding:6px 10px;background:var(--background)}.quantity-label{font-size:12px;color:var(--subtle)}.skill-creator .creator-scroll{gap:16px}.skill-upload-zone{position:relative;width:100%;min-height:250px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;overflow:hidden;border:1px dashed color-mix(in srgb,var(--foreground) 20%,transparent);border-radius:18px;background:var(--secondary)}.skill-upload-zone>img,.skill-upload-zone>video{width:100%;max-height:360px;object-fit:contain}.skill-upload-zone>span:first-child{color:var(--subtle)}.skill-upload-zone strong{font-size:14px;font-weight:500}.skill-upload-zone small{font-size:12px;color:var(--subtle)}.replace-skill-image{position:absolute;bottom:10px;left:50%;transform:translate(-50%);background:#ffffffd9;padding:6px 10px;color:#222;border-radius:10px;font-size:12px;white-space:nowrap;opacity:0}.skill-upload-zone:hover .replace-skill-image{opacity:1}.upscale-mode-list{display:flex;flex-direction:column;gap:8px}.upscale-mode-list>button{display:flex;align-items:flex-start;gap:10px;padding:14px;border:1px solid var(--border);border-radius:14px;text-align:left}.upscale-mode-list>button.selected{border-color:var(--foreground)}.upscale-mode-list i{width:16px;height:16px;border:1px solid var(--subtle);border-radius:50%;flex-shrink:0;margin-top:2px}.upscale-mode-list .selected i{border:5px solid var(--foreground)}.upscale-mode-list span{font-size:14px;font-weight:500}.upscale-mode-list small{display:block;font-size:12px;font-weight:400;line-height:18px;color:var(--subtle);margin-top:4px}.skill-caption{font-size:12px;line-height:20px;color:var(--subtle)}.skill-brief{display:flex;flex-direction:column;gap:10px}.skill-brief h3{font-size:14px;font-weight:600}.skill-brief input,.skill-brief textarea,.skill-textarea{width:100%;border:0;border-radius:14px;padding:12px;background:var(--secondary);font-size:13px;line-height:20px;resize:vertical}.skill-brief textarea,.skill-textarea{min-height:100px}.style-choices{display:grid;grid-template-columns:repeat(3,1fr);gap:6px}.style-choices button{padding:10px 6px;border:1px solid var(--border);border-radius:10px;font-size:12px}.style-choices button.selected{border-color:var(--foreground);background:var(--secondary)}.skill-asset-group>span{display:flex;align-items:center;gap:6px;font-size:12px;margin-bottom:8px}.skill-asset-group>span small{color:var(--subtle);font-weight:400}.skill-asset-group>div{display:flex;gap:8px}.skill-add-asset,.skill-asset-thumb{width:64px;height:64px;border-radius:12px;position:relative;border:1px dashed var(--border);display:grid;place-items:center}.skill-asset-thumb img{width:100%;height:100%;object-fit:cover;border-radius:12px}.skill-asset-thumb button{position:absolute;right:-4px;top:-4px;background:var(--background);border-radius:50%;padding:3px;box-shadow:0 1px 4px #0002}.expand-upload-zone{background:repeating-conic-gradient(var(--secondary) 0 25%,var(--background) 0 50%) 50%/16px 16px}.expand-scale{display:flex;align-items:center;gap:10px;font-size:12px;color:var(--subtle)}.expand-scale input{flex:1;min-width:0;accent-color:var(--foreground)}.results-suggestions{position:absolute;top:calc(100% + 6px);left:0;right:0;z-index:30;padding:6px;border-radius:18px;background:var(--background);box-shadow:var(--panel-shadow)}.results-suggestions>button{width:100%;display:flex;align-items:center;gap:12px;text-align:left;padding:12px;border-radius:10px;font-size:14px}.results-suggestions>button>span{flex:1;font-weight:500}.results-suggestions strong{font-weight:400}.results-suggestions>button.active,.results-suggestions>button:hover{background:var(--secondary)}.search-results-form{position:relative;overflow:visible}.prompt-segments{display:flex;flex-direction:column;gap:12px}.prompt-segment{border:1px solid var(--border);border-radius:14px;padding:12px;text-align:left;position:relative}.prompt-segment.selected{border-color:var(--foreground);background:var(--secondary)}.prompt-segment strong{font-size:12px;font-weight:500;color:var(--subtle)}.prompt-segment p{font-size:14px;line-height:1.625;white-space:pre-wrap;margin:8px 0}.prompt-segment>span{font-size:12px;text-decoration:underline}.detail-reference-token{margin-top:16px;display:flex;align-items:flex-start;flex-direction:column;gap:8px;font-size:12px;color:var(--subtle)}.detail-reference-token button{display:flex;align-items:center;gap:6px;border:1px solid var(--border);padding:5px 10px;border-radius:999px;color:var(--foreground);font-size:14px}.related-heading{font-size:18px;line-height:28px;font-weight:600}.detail-create-actions .button{height:44px;font-size:16px;border-radius:14px}.detail-create-actions>div{gap:12px}.detail-media img,.detail-media video{border-radius:18px}.detail-thumbnails button{border-radius:14px}.detail-prompt:not(.expanded){white-space:normal}.progressive-image{position:relative;display:grid;place-items:center;max-width:100%;max-height:calc(100dvh - 128px);overflow:hidden;border-radius:18px}.progressive-image>img{grid-area:1/1;transition:opacity .15s}.detail-media .detail-cover-placeholder{filter:blur(8px);transform:scale(1.02)}.media-loading{position:absolute;left:50%;top:50%;width:24px;height:24px;border:2px solid #aaa4;border-top-color:#999;border-radius:50%;animation:spin 1s linear infinite}.report-reasons{display:flex;flex-direction:column;gap:14px;margin:18px 0}.report-reasons>label{display:flex;align-items:center;gap:10px;font-size:14px}.creations-page{height:100%;display:flex;flex-direction:column;min-height:0}.creations-page>.gallery-page{min-height:0;flex:1}.creations-tabs,.library-tabs{display:flex;align-items:center;gap:20px;padding:12px 20px 0;flex-shrink:0}.creations-tabs button,.library-tabs button{padding:8px 0;color:var(--subtle);font-size:14px;border-bottom:2px solid transparent}.creations-tabs button.active,.library-tabs button.active{border-color:var(--foreground);color:var(--foreground);font-weight:500}.library-tabs span{margin-left:6px;font-size:12px}.library-header{display:flex;align-items:center;gap:12px;padding:18px 20px;flex-shrink:0}.library-header>div:first-of-type,.library-header>h1{flex:1;min-width:0}.library-header h1{font-size:20px;font-weight:600;margin:0}.library-header p{font-size:13px;color:var(--subtle);margin:6px 0 0}.library-header>.compact-search{flex:0 1 230px}.boards-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:16px;padding:4px 0 28px}.board-card,.project-card{min-width:0}.board-cover{width:100%;aspect-ratio:16/9;display:block;border-radius:18px;overflow:hidden;background:var(--secondary)}.board-cover>img{width:100%;height:100%;object-fit:cover}.board-cover>span{height:100%;display:grid;place-items:center;color:var(--subtle)}.board-caption,.project-card-footer{display:flex;align-items:center;gap:8px;padding:10px 4px}.board-caption>button:first-child,.project-card-footer>button:first-child{flex:1;min-width:0;text-align:left}.board-caption strong,.project-card-footer strong{font-size:14px;font-weight:500;display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.board-caption small,.project-card-footer small{display:block;font-size:12px;color:var(--subtle);margin-top:4px}.board-create-card{min-height:170px;border:1px dashed var(--border);border-radius:18px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;color:var(--subtle);font-size:14px}.board-actions{display:flex;align-items:center;justify-content:space-between;font-size:12px;color:var(--subtle);padding-bottom:12px}.board-actions>span{display:flex;align-items:center;gap:6px}.board-cover-editor{border:1px dashed var(--border);padding:10px;border-radius:14px;display:flex;flex-direction:column;gap:10px}.board-cover-editor>img{width:100%;aspect-ratio:16/9;object-fit:cover;border-radius:10px}.board-cover-editor input{font-size:12px;max-width:100%}.board-public-toggle{display:flex;align-items:center;gap:8px;font-size:13px;margin:14px 0 18px}.projects-page{overflow:auto;padding:0 0 30px;flex:1;min-height:0}.projects-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(200px,1fr));gap:16px;padding:0 20px}.project-preview{width:100%;aspect-ratio:4/3;border-radius:18px;background:var(--secondary);overflow:hidden;display:flex;align-items:center;justify-content:center;gap:4px;flex-wrap:wrap;padding:10px}.project-preview img{width:calc(50% - 4px);height:calc(50% - 4px);object-fit:cover;border-radius:6px}.project-preview img:only-child{width:100%;height:100%}.project-missing-asset{font-size:12px;color:var(--subtle)}.project-workspace{height:100%;display:flex;flex-direction:column;min-height:0}.project-workspace>header{display:flex;align-items:center;gap:10px;padding:14px 20px;border-bottom:1px solid var(--border)}.project-workspace>header input{border:0;background:transparent;font-size:14px;flex:1;min-width:0}.project-workspace>header>span{font-size:11px;color:var(--subtle)}.project-canvas{flex:1;min-height:0;overflow:auto;position:relative;background:radial-gradient(var(--border) 1px,transparent 1px) 0 0/20px 20px}.project-canvas-content{min-height:100%;display:flex;align-items:center;justify-content:center;gap:24px;flex-wrap:wrap;padding:50px;transform-origin:center}.project-canvas-content>button{max-width:400px;box-shadow:0 4px 30px #0002}.project-canvas-content img{max-height:450px;object-fit:contain}.project-canvas-empty{text-align:center;color:var(--subtle);display:flex;flex-direction:column;align-items:center;gap:14px}.project-canvas-empty h2{font-size:20px;color:var(--foreground)}.project-canvas-empty p{font-size:14px}.project-canvas-zoom{position:sticky;bottom:20px;margin:0 auto 20px;width:max-content;display:flex;align-items:center;gap:12px;background:var(--background);padding:4px;border-radius:12px;box-shadow:var(--panel-shadow);font-size:12px}.project-workspace>footer{display:flex;align-items:center;gap:10px;padding:14px 20px;border-top:1px solid var(--border)}.project-workspace>footer textarea{flex:1;min-width:0;border:0;resize:none;background:var(--secondary);border-radius:12px;padding:10px;font-size:13px;height:40px}.account-service-card{border:1px solid var(--border);border-radius:18px;padding:20px;display:flex;flex-direction:column;align-items:flex-start;gap:12px;margin:16px 0 24px;font-size:14px}.account-service-card p,.setting-note{font-size:12px;color:var(--subtle);line-height:20px}.settings-empty{padding:28px 0;font-size:13px;color:var(--subtle)}.usage-stat-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin:20px 0}.usage-stat-grid>div{padding:18px;border:1px solid var(--border);border-radius:14px;display:flex;flex-direction:column;gap:12px}.usage-stat-grid span{font-size:12px;color:var(--subtle)}.usage-stat-grid strong{font-size:24px}.editor-workbench .editor-options{width:340px;display:flex;flex-direction:column;gap:16px;padding:20px}.editor-workbench .editor-options h3{margin-bottom:0;font-weight:600}.editor-workbench .editor-tools{width:72px;gap:4px;padding:12px 8px;overflow:auto}.editor-workbench .editor-tools>button{flex-shrink:0;height:56px}.editor-canvas-wrap{position:relative}.editor-stage canvas.editor-mask{position:absolute;top:0;right:0;bottom:0;left:0;width:100%;height:100%;max-height:100%;box-shadow:none;border-radius:0;pointer-events:none;opacity:.7}.editor-mask.interactive{pointer-events:auto!important;cursor:crosshair;touch-action:none}.editor-chat{min-height:130px;flex:1;display:flex;flex-direction:column;gap:10px}.editor-chat-empty{display:flex;flex-direction:column;gap:12px;align-items:center;text-align:center;padding:30px 8px;color:var(--subtle);font-size:13px;line-height:22px}.editor-message{font-size:13px;line-height:20px;padding:10px 12px;border-radius:12px;white-space:pre-wrap}.editor-message.user{background:var(--secondary);align-self:flex-end}.editor-message.error{color:var(--subtle);align-self:flex-start}.editor-chat-input{width:100%;min-height:90px;resize:vertical;font-size:13px;line-height:20px;border:1px solid var(--border);border-radius:14px;padding:12px;background:var(--background)}@media(min-width:768px){.sidebar-collapsed .sidebar{width:0;padding:0;overflow:hidden;opacity:0;pointer-events:none}.sidebar-collapsed .main-shell{margin-left:0}.sidebar-collapsed{--sidebar-width: 0px}}@media(max-width:767px){.generation-control-grid{gap:12px}.generation-option-trigger{height:36px}.option-choice{min-height:48px;font-size:16px}.ratio-choices .option-choice{font-size:13px;min-height:90px}.mobile-model-choices .generation-model-item{min-height:66px}.mobile-model-choices .model-name{font-size:16px;line-height:24px}.sidebar-backdrop.visible{z-index:180}.sidebar.sidebar-open{z-index:181;display:flex}.detail-thumbnails,.detail-prev,.detail-next{display:none!important}.detail-media img,.detail-media video{max-height:40vh;border-radius:14px}.progressive-image{max-height:40vh;border-radius:14px}.detail-media,.detail-viewer.has-thumbnails .detail-media{padding:16px}.detail-media-tools{position:relative;justify-content:flex-end;padding:12px 12px 0;right:auto;top:auto}.detail-create-actions .button{height:44px}.detail-create-actions>div{gap:8px}.library-header{padding:14px 12px;gap:8px;flex-wrap:wrap}.library-header h1{font-size:18px}.library-header>.compact-search{order:4;flex-basis:100%}.boards-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.board-cover{border-radius:14px}.board-caption{padding:8px 0}.projects-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;padding:0 12px}.project-workspace>footer{flex-wrap:wrap;padding:10px}.project-workspace>footer textarea{flex-basis:calc(100% - 100px)}.creations-tabs,.library-tabs{padding:10px 12px 0;gap:20px}.creations-tabs button{font-size:13px}.editor-workbench .editor-header{gap:6px;padding:8px;height:auto;min-height:52px;flex-wrap:wrap}.editor-workbench .editor-header h2{font-size:14px}.editor-workbench .editor-header>.button{font-size:11px;padding:6px 8px;height:30px}.editor-workbench .editor-body{flex-wrap:wrap;overflow:auto}.editor-workbench .editor-tools{width:100%;flex-direction:row;border-right:0;border-bottom:1px solid var(--border);padding:4px;gap:0}.editor-workbench .editor-tools>button{height:48px;width:calc(100% / 7);min-width:44px;gap:2px}.editor-workbench .editor-tools>button svg{width:17px}.editor-workbench .editor-stage{width:100%;flex-basis:100%;min-height:280px;max-height:45dvh;padding:24px}.editor-workbench .editor-stage canvas{max-height:35dvh}.editor-workbench .editor-options{width:100%;border-left:0;border-top:1px solid var(--border);padding:16px}.editor-chat{min-height:100px}.settings-nav{overflow-x:auto}.settings-nav button{white-space:nowrap}.settings-content h2{font-size:18px}}@media(prefers-reduced-motion:reduce){.option-sheet{animation:none}.progressive-image>img{transition:none}}.page-back{width:28px;height:28px}.skills-page{padding:16px 24px 64px}.skills-page>.page-back{margin:0 0 24px -8px}.skills-heading{padding:24px 8px 32px;margin-bottom:8px;text-align:center}.skills-heading h1{font-size:24px;line-height:30px;font-weight:600;letter-spacing:-.6px}.skills-heading p{font-size:14px;line-height:22.75px;margin:8px auto 0;max-width:576px;color:var(--muted-foreground)}.skills-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.skill-card{display:flex;align-items:center;gap:12px;width:100%;height:128px;padding:16px;border:0;border-radius:24px;color:#1b1b1b}.skill-card:hover{transform:none;box-shadow:none}.skill-card-info{min-width:0;flex:1;display:flex;flex-direction:column;align-items:flex-start;gap:10px;padding:0}.skill-card-info>div{width:100%}.skill-icon-frame{display:flex;width:36px;height:36px;flex-shrink:0;align-items:center;justify-content:center;border-radius:12px;background:#fff;box-shadow:0 1px 2px #0000000d;overflow:hidden}.skill-icon{height:24px;width:24px;border-radius:0;object-fit:contain;mix-blend-mode:multiply}.skill-card-info h2{display:block;font-size:18px;font-weight:500;line-height:24.75px;letter-spacing:-.45px}.skill-card-info p{margin-top:6px;font-size:12px;line-height:16px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:#4b5563}.skill-card-visual{position:relative;width:112px;height:96px;flex-shrink:0;overflow:visible}.skill-preview-front,.skill-preview-back{position:absolute;padding:4px;background:#fff;border-radius:8px;box-shadow:0 4px 6px -1px #0000001a,0 2px 4px -2px #0000001a;transition:transform .2s ease-out}.skill-preview-front{right:0;top:4px;z-index:1;width:72px;height:88px;transform:rotate(3deg)}.skill-preview-back{bottom:4px;left:-8px;width:52px;height:56px;transform:rotate(-6deg)}.skill-preview-back.poster-preview{left:-4px;width:64px;height:80px}.skill-preview-front img,.skill-preview-back img{width:100%;height:100%;border-radius:5px;object-fit:cover}.skill-preview-back img{object-fit:contain}.skill-card:hover .skill-cover{transform:none}.skill-card:hover .skill-preview-front{transform:translateY(-4px) rotate(7deg)}.skill-card:hover .skill-preview-back{transform:translate(-2px) rotate(-10deg)}.creations-tabs{gap:4px;padding:16px}.creations-tabs>button{padding:6px 12px;border:0;border-radius:8px}.creations-tabs>button.active{background:var(--active)}.creations-tabs>.icon-button{padding:0;width:28px;height:28px;margin-right:12px}.history-toolbar{display:flex;align-items:center;justify-content:space-between;padding:0 24px 12px;gap:12px}.history-toolbar .history-filter{margin:0}.history-header-tools{display:flex;align-items:center;gap:4px}.history-header-tools>.icon-button{height:32px;width:32px;border-radius:8px}.history-header-tools>.icon-button.active{background:var(--active)}.library-topbar{padding:16px}.library-topbar .icon-button{height:28px;width:28px}.library-page>.gallery-scroll{padding:0 16px 80px}.boards-section h2,.saved-heading h2{font-size:24px;font-weight:500;letter-spacing:-.6px;line-height:32px}.boards-section>h2{padding-left:8px;margin-bottom:16px}.boards-grid{grid-template-columns:repeat(auto-fill,minmax(200px,1fr));gap:12px;padding:0}.board-create-card{aspect-ratio:4/3;min-height:0;border:0;border-radius:16px;background:linear-gradient(90deg,var(--active) 49.5%,transparent 49.5%,transparent 50.5%,var(--active) 50.5%),var(--muted)}.board-create-card>span{background:var(--background);color:var(--foreground);border-radius:12px;font-size:14px;font-weight:600;padding:10px 24px}.board-card{border-radius:16px}.board-card:has(.board-cover:hover){box-shadow:none}.board-cover{aspect-ratio:4/3;border-radius:16px}.saved-heading{display:flex;flex-wrap:wrap;align-items:baseline;gap:8px 12px;padding-left:8px;margin:32px 0 16px}.saved-heading>span{font-size:12px;color:var(--muted-foreground)}.saved-tools{display:flex;align-items:center;gap:8px;margin-left:auto}.saved-tools .segmented{background:transparent}.saved-tools .segmented button{height:32px;padding:0 10px;font-size:14px}.saved-search{display:flex;height:32px;width:32px;border-radius:20px;overflow:hidden;transition:width .2s}.saved-search.expanded{width:200px;background:var(--muted)}.saved-search .icon-button{width:32px;height:32px;flex-shrink:0}.saved-search input{border:0;background:transparent;width:0;min-width:0;flex:1;outline:none}.creator-references .reference-box{border:0;padding:0;background:transparent}.creator-references .reference-upload{width:auto;min-height:0;display:inline-flex;flex-direction:row;align-items:center;gap:6px;padding:8px 10px;border:0;border-radius:8px;background:var(--muted)}.creator-references .reference-upload span{font-size:12px}.reference-add-menu{min-width:180px;padding:4px}.reference-add-menu>button{display:flex;gap:8px;align-items:center;width:100%;border-radius:6px;padding:9px 10px;text-align:left}.reference-add-menu>button:hover{background:var(--muted)}.reference-caption[hidden]{display:none}.creator-references .reference-list{margin-top:12px}.settings-modal{width:91.6667vw;max-width:1152px;height:80dvh}.settings-layout{height:100%;min-height:0;max-height:none;grid-template-columns:208px minmax(0,1fr)}.settings-nav{padding:24px 12px;overflow:auto}.settings-nav h2{display:none}.settings-nav>button{height:36px;padding:8px 12px;font-size:14px;gap:10px;margin:0;color:var(--foreground)}.settings-nav>button.active{background:var(--active)}.settings-nav .settings-group-label{padding:24px 12px 8px;color:var(--subtle);font-size:12px}.settings-content{padding:40px}.settings-content h2{font-size:20px;line-height:28px;margin-bottom:24px;font-weight:600;letter-spacing:-.5px}.settings-content h3{font-size:14px;font-weight:600;margin:28px 0 12px}.settings-content h2+h3{margin-top:0}.setting-row{border:0;padding:12px 0;min-height:60px;gap:24px}.setting-row strong{font-size:14px;font-weight:500}.setting-row p{font-size:12px;color:var(--muted-foreground);margin-top:4px}.setting-row .select-trigger{min-width:156px;background:var(--muted);border:0;border-radius:8px;height:36px}.setting-row .switch{flex-shrink:0}.settings-profile-row{display:flex;align-items:center;gap:12px;margin-bottom:16px}.settings-avatar{display:grid;place-items:center;width:48px;height:48px;border-radius:50%;background:var(--muted);font-size:20px}.settings-profile-row p{font-size:12px;color:var(--muted-foreground);margin-top:4px}.settings-profile-row .button{margin-left:auto}.settings-inline-form{display:flex;gap:8px;margin:16px 0}.settings-inline-form input{flex:1;min-width:0}.settings-service-heading{display:flex;align-items:center;justify-content:space-between;gap:12px}.settings-service-heading .icon-button{width:28px;height:28px}.credit-card{padding:20px;border:1px solid var(--border);border-radius:16px}.credit-card h3{margin:0}.credit-balance{font-size:32px;font-weight:600;margin:16px 0}.credit-card .setting-row{border-top:1px solid var(--border);margin-top:16px}.usage-filters{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin:20px 0}.usage-filters .segmented{margin-left:auto}.settings-empty{font-size:14px;padding:40px 0;color:var(--muted-foreground);text-align:center}.settings-integration-actions{display:flex;gap:12px;justify-content:center;flex-wrap:wrap}@media(max-width:1200px){.skills-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.settings-content{padding:32px}}@media(min-width:1201px){.with-creator .skills-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:767px){.skills-page{padding:16px 16px 100px}.skills-page>.page-back{display:none}.skills-heading{padding:24px 8px 32px}.skills-heading h1{font-size:24px}.skills-grid{grid-template-columns:minmax(0,1fr)}.skill-card{height:128px;border-radius:24px}.skill-card-visual{width:112px;height:96px}.skill-card-info{padding:0}.skill-card-info h2{font-size:18px}.skill-card-info p{font-size:12px}.creations-tabs{padding:12px;gap:4px}.creations-tabs>button{font-size:14px}.history-toolbar{padding:0 16px 12px}.history-header-tools .compact-search{display:none}.settings-modal{width:calc(100vw - 24px);max-height:90dvh;height:85dvh}.settings-layout{grid-template-columns:132px minmax(0,1fr)}.settings-nav{padding:24px 6px}.settings-nav>button{padding:8px;font-size:12px}.settings-nav>button svg{display:block;width:14px}.settings-content{padding:24px 16px}.settings-content h2{font-size:18px}.setting-row{align-items:flex-start;flex-direction:column;gap:10px;padding:12px 0}.setting-row .select-trigger{width:100%;min-width:0}.settings-profile-row{flex-wrap:wrap}.settings-profile-row .button{margin-left:0}.boards-grid{grid-template-columns:repeat(auto-fill,minmax(140px,1fr))}}@media(prefers-reduced-motion:reduce){.skill-preview-front,.skill-preview-back,.saved-search{transition:none}}.settings-content>.settings-service-heading{align-items:flex-start}.settings-content>.settings-service-heading>a{margin-top:4px;white-space:nowrap}.settings-resource-error{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px;margin:16px 0;background:var(--muted);border-radius:8px;color:var(--muted-foreground);font-size:13px}.settings-records .setting-row{border-bottom:1px solid var(--border)}.settings-records .setting-row>span:first-child{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.settings-nav>button.active{background:var(--background);box-shadow:0 1px 2px #0000000d}.settings-content>.settings-service-heading{margin-bottom:24px}.settings-content>.settings-service-heading h2{margin:0}.settings-content>.settings-service-heading+h3{margin-top:0}.setting-row{padding:16px 0;flex-wrap:wrap}.setting-row p{font-size:14px;line-height:20px}@media(max-width:639px){.settings-modal{width:91.6667vw;height:80dvh}.settings-layout{display:flex;flex-direction:column}.settings-nav{display:flex;flex-shrink:0;gap:4px;padding:8px 56px 8px 8px;overflow-x:auto;overflow-y:hidden}.settings-nav>button{flex-shrink:0;width:auto;white-space:nowrap;font-size:14px;padding:8px 12px;gap:8px}.settings-nav>button svg{width:16px;height:16px}.settings-nav .settings-group-label{display:none}.settings-content{flex:1;min-height:0;padding:24px 20px}.setting-row{flex-direction:row;align-items:center}.setting-row>div{min-width:min-content;flex:1}.setting-row .select-trigger{width:auto;min-width:156px;max-width:100%}}
