*,*:before,*:after{box-sizing:border-box}:root{--bg: #000000;--text: #ffffff;--muted: #8d8d8d;--muted-2: #6a6a6a;--hairline: #3a3a3a;--tile-line: #4a4a4a;--surface: #141414;--composer: #1c1c1c;--sidebar: 392px;--gap: 10px;--radius: 16px;--sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif}html,body,#root{margin:0;height:100%;overflow:hidden;background:var(--bg);color:var(--text);font-family:var(--sans);letter-spacing:-.011em;color-scheme:dark;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}body{overflow:hidden}button,input{font-family:inherit}button{cursor:pointer}img{max-width:100%}.app{height:100svh;overflow:hidden;background:var(--bg)}.sidebar{position:fixed;inset:0 auto 0 0;width:var(--sidebar);display:flex;flex-direction:column;justify-content:flex-start;gap:20px;padding:32px 36px 24px 40px;z-index:4;background:var(--bg)}.sidebar-top{max-width:none}.brand{display:flex;align-items:center;gap:8px;margin-bottom:32px}.brand-mark{width:16px;height:16px;fill:#fff;flex:none}.brand span{font-size:15px;font-weight:400;letter-spacing:-.02em;line-height:1}.headline{margin:0 0 20px;max-width:252px;font-size:36px;font-weight:600;line-height:1.13;letter-spacing:-.048em;color:#fff}.headline em{font-style:italic;font-weight:500;color:#6f6f6f}.lede{display:flex;flex-direction:column;gap:12px;margin-bottom:20px;max-width:252px}.lede p{margin:0;font-size:14px;line-height:1.45;color:var(--muted);letter-spacing:-.01em}.lede strong{color:#fff;font-weight:600}.actions{display:flex;flex-wrap:wrap;gap:8px}.pill{display:inline-flex;align-items:center;gap:7px;height:32px;padding:0 12px 0 10px;border-radius:999px;border:1px solid var(--hairline);background:transparent;color:#f3f3f3;font-size:13px;font-weight:500;letter-spacing:-.015em;transition:border-color .15s ease,background .15s ease}.pill svg{width:14px;height:14px;color:#ececec}.pill:hover{border-color:#6a6a6a;background:#111}.pill:disabled{opacity:.55;cursor:default}.photo-drop{flex:1 1 0;min-height:160px;align-self:stretch;width:100%;margin:0;padding:18px;border-radius:var(--radius);border:1px dashed var(--tile-line);background:#0a0a0a;color:var(--muted);display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;position:relative;overflow:hidden;transition:border-color .15s ease,background .15s ease}.photo-drop:hover,.photo-drop:focus-visible{border-color:#6a6a6a;background:#111}.photo-drop.is-dragging{border-color:#cfcfcf;background:#161616}.photo-drop.has-photo{padding:0;border-style:solid;border-color:transparent}.photo-drop.has-photo:hover,.photo-drop.has-photo:focus-visible{border-color:transparent}.photo-drop.has-photo img{position:absolute;top:0;right:0;bottom:0;left:0;width:100%;height:100%;object-fit:cover;display:block}.photo-drop-plus{width:36px;height:36px;display:grid;place-items:center;color:#b8b8b8}.photo-drop-plus svg{width:24px;height:24px}.photo-drop-title{font-size:14px;font-weight:500;color:#ececec;letter-spacing:-.02em}.photo-drop-hint{font-size:12.5px;color:#6d6d6d}.photo-drop-overlay{position:absolute;top:0;right:0;bottom:0;left:0;display:grid;place-items:center;background:#00000073;color:#fff;font-size:13px;font-weight:500;opacity:0;transition:opacity .15s ease}.photo-drop.has-photo:hover .photo-drop-overlay,.photo-drop.is-uploading .photo-drop-overlay{opacity:1}.photo-drop-clear{position:absolute;top:10px;right:10px;width:24px;height:24px;border-radius:999px;background:#000000b3;color:#fff;font-size:16px;line-height:22px;text-align:center;opacity:0}.photo-drop.has-photo:hover .photo-drop-clear,.photo-drop-clear:focus-visible{opacity:1}.stage{margin-left:var(--sidebar);padding:16px 16px 48px 6px;height:100svh;overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#2a2a2a transparent}.gallery{column-count:4;column-gap:var(--gap)}.tile-hit{display:block;width:100%;margin:0 0 var(--gap);break-inside:avoid;-webkit-column-break-inside:avoid;page-break-inside:avoid}.tile{width:100%;border-radius:var(--radius);border:1px dashed var(--tile-line);background:#0a0a0a;overflow:hidden;position:relative;animation:tileIn .45s ease both}.tile:hover img{transform:scale(1.03)}.tile.is-casting img,.tile.is-casting:hover img{transform:none;filter:brightness(.42)}.tile-open{position:absolute;top:0;right:0;bottom:0;left:0;z-index:1;margin:0;padding:0;border:0;background:transparent;cursor:zoom-in}.tile-gen{position:absolute;z-index:3;left:50%;bottom:12px;display:inline-flex;align-items:center;gap:6px;height:32px;padding:0 12px 0 10px;border:1px solid rgba(255,255,255,.16);border-radius:999px;background:#080808c7;color:#f3f3f3;font-size:12.5px;font-weight:500;letter-spacing:-.02em;opacity:0;transform:translate(-50%) translateY(6px);transition:opacity .18s ease,transform .18s ease,background .15s ease;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}.tile-gen svg{width:12px;height:12px}.tile.can-generate:hover .tile-gen,.tile-gen:focus-visible{opacity:1;transform:translate(-50%)}.tile-gen:hover,.tile-gen:focus-visible{background:#141414eb;border-color:#ffffff47}.tile-cast{position:absolute;top:0;right:0;bottom:0;left:0;z-index:4;display:grid;place-items:center;padding:12px;background:#00000061}.tile-gen-error{position:absolute;z-index:3;left:10px;right:10px;bottom:12px;margin:0;padding:8px 10px;border-radius:10px;background:#140808d1;color:#f0c0c0;font-size:11.5px;line-height:1.35;text-align:center}.gen-status{display:flex;width:fit-content;max-width:100%;align-items:center;gap:10px}.pixel-grid{display:grid;grid-template-columns:repeat(3,4px);gap:1.5px;flex-shrink:0}.pixel-cell{width:4px;height:4px;border-radius:1px;background:#fff;opacity:.15;animation:pixel-on .65s ease-in-out infinite}.gen-label{background-image:linear-gradient(90deg,#6a6a6a 35%,#fff,#6a6a6a 65%);background-size:200% 100%;background-clip:text;-webkit-background-clip:text;color:transparent;font-size:13px;font-weight:500;letter-spacing:-.02em;animation:shimmer-text 1.4s linear infinite}.gen-elapsed{font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:12px;color:#8d8d8d;font-variant-numeric:tabular-nums}.gen-status.is-static .pixel-cell,.gen-status.is-static .gen-label{animation:none}@media (hover: none){.tile.can-generate .tile-gen{opacity:1;transform:translate(-50%)}}.tile img{width:100%;height:100%;object-fit:cover;display:block;opacity:0;transition:opacity .35s ease,transform .45s ease}.tile.is-loaded{border-color:transparent}.tile.is-loaded img{opacity:1}.gallery.is-generating .tile:not(.is-loaded){animation:pulse 1.4s ease-in-out infinite}.sentinel{height:1px}.lightbox{position:fixed;top:0;right:0;bottom:0;left:0;z-index:20;background:#000000db;display:grid;place-items:center;padding:32px;cursor:zoom-out}.lightbox img{max-width:min(920px,100%);max-height:88svh;border-radius:16px;object-fit:contain}.modal-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:30;background:#000000b8;display:grid;place-items:center;padding:24px}.modal{width:min(380px,100%);background:#111;border:1px solid #2a2a2a;border-radius:20px;padding:28px 24px 20px;display:grid;gap:12px}.modal form{display:grid;gap:12px}.google-btn{display:flex;align-items:center;justify-content:center;gap:10px;height:42px;border-radius:999px;border:1px solid #2e2e2e;background:#fff;color:#1f1f1f;font-size:14px;font-weight:500}.google-btn:hover{background:#f3f3f3}.google-btn:disabled{opacity:.6}.modal-or{display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:10px;color:#6b6b6b;font-size:12px}.modal-or:before,.modal-or:after{content:"";height:1px;background:#2a2a2a}.modal-error{margin:0;color:#f0a0a0;font-size:12.5px}.modal-switch{border:0;background:transparent;color:#9a9a9a;font-size:13px;padding:2px 0}.modal-switch:hover{color:#fff}.modal-logo{width:18px;height:18px;position:relative;margin-bottom:4px}.modal-logo span{position:absolute;width:4.5px;height:4.5px;border-radius:99px;background:#fff}.modal-logo span:nth-child(1){top:0;left:6.75px}.modal-logo span:nth-child(2){top:6.75px;left:0}.modal-logo span:nth-child(3){top:6.75px;right:0}.modal-logo span:nth-child(4){bottom:0;left:6.75px}.modal h2{margin:0;font-size:22px;letter-spacing:-.04em;font-weight:600}.modal p{margin:0 0 6px;color:var(--muted);font-size:13.5px;line-height:1.45}.modal label{display:grid;gap:6px;font-size:12px;color:#9a9a9a}.modal input{height:40px;border-radius:10px;border:1px solid #2e2e2e;background:#0c0c0c;color:#fff;padding:0 12px;font-size:14px;outline:none}.modal input:focus{border-color:#555}.modal-submit,.modal-cancel{height:40px;border-radius:999px;font-size:14px;font-weight:500}.modal-submit{margin-top:6px;width:100%;border:0;background:#fff;color:#000}.modal-cancel{border:1px solid #2e2e2e;background:transparent;color:#cfcfcf}@keyframes tileIn{0%{opacity:0;transform:translateY(8px)}to{opacity:1;transform:none}}@keyframes pulse{0%,to{border-color:#333}50%{border-color:#666}}@keyframes pixel-on{0%,40%{opacity:.15}50%{opacity:1}60%,to{opacity:.15}}@keyframes shimmer-text{0%{background-position:100% 0}to{background-position:-100% 0}}@media (prefers-reduced-motion: reduce){.pixel-cell,.gen-label{animation:none}}@media (max-width: 1280px){.gallery{column-count:3}}@media (max-width: 980px){:root{--sidebar: 340px}.sidebar{padding:24px 28px 18px}.headline{font-size:28px}.gallery{column-count:2}}@media (max-width: 760px){.sidebar{position:relative;width:100%;height:auto;padding:22px 20px 16px}.sidebar-top{max-width:none}.stage{margin-left:0;padding:8px 12px 40px;height:auto;flex:1;min-height:0}.app{display:flex;flex-direction:column}.gallery{column-count:2}.headline{font-size:30px}.photo-drop{min-height:200px;max-height:280px}}@media (max-width: 480px){.gallery{column-count:1}.actions .pill:first-child{flex:1;justify-content:center}}
