@import"https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=Playfair+Display:ital,wght@0,400;0,700;0,900;1,400;1,700&display=swap";*,*:before,*:after{margin:0;padding:0;box-sizing:border-box}:root{--bg: #FAFAF8;--bg-warm: #F5F3EF;--surface: #FFFFFF;--surface-alt: #F0EDE8;--border: #E8E4DF;--border-light: #F0ECE7;--text: #1A1A1A;--text-secondary: #6B6560;--text-muted: #9B9590;--accent: #111111;--accent-warm: #C4754B;--accent-nike: #111111;--success: #2D8F5C;--error: #C44B4B;--radius: 12px;--radius-lg: 20px;--radius-xl: 28px;--shadow-sm: 0 1px 3px rgba(0,0,0,.04), 0 1px 2px rgba(0,0,0,.02);--shadow-md: 0 4px 16px rgba(0,0,0,.06), 0 1px 3px rgba(0,0,0,.04);--shadow-lg: 0 12px 40px rgba(0,0,0,.08), 0 4px 12px rgba(0,0,0,.04);--shadow-xl: 0 24px 60px rgba(0,0,0,.1), 0 8px 20px rgba(0,0,0,.05)}html{font-size:16px;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;scroll-behavior:smooth}body{font-family:Inter,-apple-system,BlinkMacSystemFont,sans-serif;background:var(--bg);color:var(--text);min-height:100vh;overflow-x:hidden}#root{min-height:100vh;display:flex;flex-direction:column}::selection{background:var(--accent);color:#fff}::-webkit-scrollbar{width:6px}::-webkit-scrollbar-track{background:transparent}::-webkit-scrollbar-thumb{background:var(--border);border-radius:3px}@media(max-width:768px){html{-webkit-text-size-adjust:100%}*{-webkit-tap-highlight-color:transparent}input,textarea,select{font-size:16px}}.studio{height:100vh;background:var(--bg);display:flex;flex-direction:column;overflow:hidden}.studio-nav{display:flex;align-items:center;justify-content:space-between;padding:1rem 2rem;background:#fafaf8e6;backdrop-filter:blur(20px);-webkit-backdrop-filter:blur(20px);border-bottom:1px solid var(--border-light);position:sticky;top:0;z-index:100}.studio-nav-back{display:flex;align-items:center;gap:.4rem;font-size:.8rem;font-weight:500;color:var(--text-secondary);text-decoration:none;transition:color .2s}.studio-nav-back:hover{color:var(--text)}.studio-nav-center{display:flex;align-items:center;gap:.6rem}.studio-nav-center .nike-swoosh{width:36px;height:15px}.studio-nav-title{font-size:.7rem;font-weight:700;letter-spacing:.15em;text-transform:uppercase;color:var(--text)}.studio-nav-right{display:flex;align-items:center;gap:1rem}.studio-designs-count{display:flex;align-items:center;gap:.4rem;padding:.35rem .85rem;background:var(--surface-alt);border-radius:100px;border:1px solid var(--border-light)}.designs-count-num{font-size:.85rem;font-weight:800;color:var(--text);font-variant-numeric:tabular-nums}.designs-count-label{font-size:.65rem;font-weight:500;color:var(--text-muted);text-transform:uppercase;letter-spacing:.05em}.xp-bar-wrapper{padding:1.25rem 2rem .75rem;max-width:800px;margin:0 auto;width:100%}.xp-bar-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:.5rem}.xp-bar-label{font-size:.65rem;font-weight:600;letter-spacing:.12em;text-transform:uppercase;color:var(--text-muted)}.xp-bar-value{font-size:.75rem;font-weight:700;color:var(--text);font-variant-numeric:tabular-nums}.xp-bar-track{height:6px;background:var(--surface-alt);border-radius:100px;position:relative;overflow:hidden}.xp-bar-fill{height:100%;border-radius:100px;background:linear-gradient(90deg,#c4754b,#2d8f5c,#1a3a5c);position:relative}.xp-bar-fill:after{content:"";position:absolute;top:0;right:0;bottom:0;width:40px;background:linear-gradient(90deg,transparent,rgba(255,255,255,.3));border-radius:100px;animation:xp-shimmer 2s ease-in-out infinite}@keyframes xp-shimmer{0%,to{opacity:.5}50%{opacity:1}}.xp-bar-marker{position:absolute;top:-2px;width:2px;height:10px;background:var(--border);transform:translate(-50%);border-radius:1px;transition:background .3s}.xp-bar-marker.reached{background:var(--text)}.xp-bar-phases{display:flex;justify-content:space-between;margin-top:.5rem}.xp-phase-label{font-size:.6rem;font-weight:500;color:var(--text-muted);text-transform:uppercase;letter-spacing:.05em;transition:color .3s}.xp-phase-label.active{color:var(--text);font-weight:700}.phase-indicator{display:flex;justify-content:center;align-items:center;padding:1.5rem 2rem 1rem;gap:0}.phase-step{display:flex;align-items:center;gap:.5rem}.phase-step-circle{width:36px;height:36px;border-radius:50%;display:flex;align-items:center;justify-content:center;font-size:.7rem;font-weight:700;background:var(--surface);border:2px solid var(--border);color:var(--text-muted);transition:all .4s cubic-bezier(.23,1,.32,1)}.phase-step.active .phase-step-circle{background:var(--text);border-color:var(--text);color:#fff;box-shadow:0 0 0 4px #1a1a1a1a;transform:scale(1.1)}.phase-step.done .phase-step-circle{background:var(--success);border-color:var(--success);color:#fff}.phase-step-text{font-size:.7rem;font-weight:600;color:var(--text-muted);text-transform:uppercase;letter-spacing:.06em;margin-right:.5rem;transition:color .3s}.phase-step.active .phase-step-text{color:var(--text)}.phase-step.done .phase-step-text{color:var(--success)}.phase-step-line{width:40px;height:2px;background:var(--border);margin:0 .25rem;transition:background .3s}.phase-step-line.done{background:var(--success)}.achievement-container{position:fixed;bottom:2rem;left:50%;transform:translate(-50%);z-index:200}.achievement-toast{display:flex;align-items:center;gap:1rem;padding:1rem 1.75rem;background:var(--text);color:#fff;border-radius:100px;box-shadow:0 16px 48px #00000026,0 4px 12px #0000001a;white-space:nowrap}.achievement-icon{font-size:1.5rem;line-height:1}.achievement-label{font-size:.55rem;font-weight:700;letter-spacing:.15em;text-transform:uppercase;opacity:.6;margin-bottom:.15rem}.achievement-title{font-size:.9rem;font-weight:600}.studio-content{flex:1;padding:1rem 2rem;max-width:1000px;margin:0 auto;width:100%;min-height:0;overflow-y:auto;overflow-x:hidden}.studio-content:has(.studio-chat){overflow:hidden}.studio-phase{width:100%;overflow-y:auto}.phase-header{display:flex;align-items:center;gap:1.25rem;margin-bottom:2.5rem}.phase-header-icon{font-family:Playfair Display,Georgia,serif;font-size:2.5rem;font-weight:400;color:var(--border);line-height:1;min-width:60px}.phase-title{font-family:Playfair Display,Georgia,serif;font-size:1.8rem;font-weight:400;letter-spacing:-.02em;margin-bottom:.25rem}.phase-subtitle{font-size:.9rem;color:var(--text-secondary)}.studio-shoe-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(300px,1fr));gap:1.25rem}.studio-shoe-card{background:var(--surface);border:1.5px solid var(--border-light);border-radius:var(--radius-lg);cursor:pointer;transition:border-color .2s,box-shadow .2s;overflow:hidden}.studio-shoe-card:hover{border-color:var(--border);box-shadow:var(--shadow-md)}.studio-shoe-card.selected{border-color:var(--text);box-shadow:var(--shadow-md)}.studio-shoe-card-inner{padding:1.5rem 1.75rem;display:flex;flex-direction:column;gap:.5rem;position:relative}.shoe-card-icon{width:28px;height:12px;color:var(--text-muted);margin-bottom:.5rem}.shoe-card-icon .nike-swoosh{width:28px;height:12px}.studio-shoe-name{font-size:1rem;font-weight:600;color:var(--text);line-height:1.3}.studio-shoe-id{font-size:.7rem;color:var(--text-muted);font-family:SF Mono,Fira Code,monospace;letter-spacing:.02em}.shoe-card-sample{position:relative;width:100%;aspect-ratio:16/9;overflow:hidden;background:var(--surface-alt)}.shoe-card-sample img{width:100%;height:100%;object-fit:cover;transition:transform .6s cubic-bezier(.23,1,.32,1)}.studio-shoe-card:hover .shoe-card-sample img{transform:scale(1.05)}.shoe-card-sample-badge{position:absolute;top:.6rem;left:.6rem;font-size:.55rem;font-weight:600;letter-spacing:.1em;text-transform:uppercase;padding:.2rem .5rem;background:#ffffffe6;backdrop-filter:blur(8px);-webkit-backdrop-filter:blur(8px);border-radius:100px;color:var(--text-secondary)}.shoe-card-sample-prompt{font-size:.7rem;color:var(--text-muted);line-height:1.5;margin-top:.25rem;font-style:italic;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.studio-shoe-card.has-sample .studio-shoe-card-inner{padding-top:1.25rem}.shoe-card-arrow{position:absolute;top:50%;right:1.5rem;transform:translateY(-50%);color:var(--text-muted);opacity:0;transition:all .2s}.studio-shoe-card:hover .shoe-card-arrow{opacity:1;transform:translateY(-50%) translate(2px)}.studio-shoe-card:not(.has-sample) .shoe-card-arrow{top:50%}.studio-shoe-card.has-sample .shoe-card-arrow{top:auto;bottom:1.5rem;transform:translateY(0)}.studio-shoe-card.has-sample:hover .shoe-card-arrow{transform:translate(2px)}.prompt-selected-shoe{display:flex;align-items:center;justify-content:space-between;padding:1rem 1.5rem;background:var(--surface);border:1.5px solid var(--border-light);border-radius:var(--radius);margin-bottom:2rem;box-shadow:var(--shadow-sm)}.prompt-shoe-info{display:flex;align-items:center;gap:.75rem}.prompt-shoe-info .nike-swoosh{width:24px;height:10px;color:var(--text-muted)}.prompt-shoe-name{font-weight:600;font-size:.9rem}.prompt-shoe-badge{font-size:.6rem;font-weight:700;letter-spacing:.1em;text-transform:uppercase;color:var(--success);background:#2d8f5c14;padding:.25rem .6rem;border-radius:100px}.btn-sm{padding:.5rem 1.25rem;font-size:.7rem}.studio-prompt-box{background:var(--surface);border:1.5px solid var(--border-light);border-radius:var(--radius-xl);padding:2rem 2.5rem;transition:all .3s ease;box-shadow:var(--shadow-sm)}.studio-prompt-box:focus-within{border-color:var(--text);box-shadow:var(--shadow-lg)}.studio-prompt-textarea{width:100%;min-height:140px;background:transparent;border:none;outline:none;color:var(--text);font-family:inherit;font-size:1.1rem;line-height:1.8;resize:vertical}.studio-prompt-textarea::placeholder{color:var(--text-muted)}.studio-prompt-footer{display:flex;align-items:center;justify-content:space-between;margin-top:1.5rem;padding-top:1.5rem;border-top:1px solid var(--border-light)}.prompt-char-count{font-size:.75rem;color:var(--text-muted);font-variant-numeric:tabular-nums}.prompt-char-count .has-text{color:var(--text);font-weight:600}.studio-prompt-actions{display:flex;align-items:center;gap:1rem}.prompt-hint-key{font-size:.65rem;font-weight:500;color:var(--text-muted);padding:.3rem .6rem;background:var(--surface-alt);border-radius:6px;border:1px solid var(--border-light)}.btn-generate{display:flex;align-items:center;gap:.5rem}.prompt-suggestions{margin-top:2rem}.prompt-suggestions-label{font-size:.7rem;font-weight:600;letter-spacing:.12em;text-transform:uppercase;color:var(--text-muted);margin-bottom:.75rem}.prompt-suggestion-chips{display:flex;flex-wrap:wrap;gap:.5rem}.suggestion-chip{padding:.5rem 1rem;font-size:.8rem;font-family:inherit;color:var(--text-secondary);background:var(--surface);border:1px solid var(--border-light);border-radius:100px;cursor:pointer;transition:all .2s}.suggestion-chip:hover{border-color:var(--text);color:var(--text);background:var(--surface-alt)}.crafting-screen{display:flex;align-items:center;justify-content:center;padding:4rem 2rem;min-height:50vh}.crafting-content{text-align:center;max-width:400px;width:100%}.crafting-orb-wrapper{position:relative;width:80px;height:80px;margin:0 auto 2.5rem}.crafting-orb{position:absolute;inset:15px;border-radius:50%;background:linear-gradient(135deg,#c4754b,#2d8f5c,#1a3a5c);animation:orb-pulse 2s ease-in-out infinite}.crafting-orb-ring{position:absolute;inset:0;border-radius:50%;border:2px solid var(--border);animation:orb-spin 3s linear infinite;border-top-color:var(--text);border-right-color:transparent}.crafting-orb-ring.ring-2{inset:-8px;border-width:1px;animation-duration:5s;animation-direction:reverse;border-top-color:transparent;border-bottom-color:var(--text-muted)}@keyframes orb-pulse{0%,to{transform:scale(1);opacity:.8}50%{transform:scale(1.1);opacity:1}}@keyframes orb-spin{to{transform:rotate(360deg)}}.crafting-title{font-family:Playfair Display,Georgia,serif;font-size:1.5rem;font-weight:400;margin-bottom:.5rem}.crafting-shoe{font-size:.85rem;color:var(--text-muted);margin-bottom:2.5rem}.crafting-progress{display:flex;align-items:center;gap:.75rem;margin-bottom:2rem}.crafting-progress-track{flex:1;height:4px;background:var(--surface-alt);border-radius:100px;overflow:hidden}.crafting-progress-fill{height:100%;background:linear-gradient(90deg,#c4754b,#2d8f5c);border-radius:100px}.crafting-progress-pct{font-size:.75rem;font-weight:700;color:var(--text);font-variant-numeric:tabular-nums;min-width:36px;text-align:right}.crafting-steps{display:flex;flex-direction:column;gap:.6rem;text-align:left;margin-bottom:2.5rem}.crafting-step-item{display:flex;align-items:center;gap:.6rem;font-size:.8rem;color:var(--text-muted);transition:color .3s}.crafting-step-item.done{color:var(--text)}.crafting-step-dot{width:18px;height:18px;border-radius:50%;border:1.5px solid var(--border);display:flex;align-items:center;justify-content:center;flex-shrink:0;transition:all .3s;color:var(--success)}.crafting-step-item.done .crafting-step-dot{border-color:var(--success);background:#2d8f5c14}.crafting-tip{font-size:.8rem;color:var(--text-muted);font-style:italic;line-height:1.5;padding:1rem 1.5rem;background:var(--surface-alt);border-radius:var(--radius)}.studio-chat{display:flex;flex-direction:column;height:100%;min-height:0}.chat-header{display:flex;align-items:center;justify-content:space-between;padding:.75rem 0;margin-bottom:.75rem;border-bottom:1px solid var(--border-light);flex-shrink:0}.chat-header-info{display:flex;align-items:center;gap:.6rem}.chat-header-info .nike-swoosh{width:24px;height:10px;color:var(--text-muted)}.chat-header-shoe{font-weight:600;font-size:.85rem}.chat-header-iterations{font-size:.65rem;font-weight:600;letter-spacing:.08em;text-transform:uppercase;color:var(--text-muted);background:var(--surface-alt);padding:.2rem .5rem;border-radius:100px}.chat-header-actions{display:flex;gap:.5rem}.chat-messages{flex:1;overflow-y:auto;padding:1rem 0;display:flex;flex-direction:column;gap:1.5rem;scroll-behavior:smooth;-webkit-overflow-scrolling:touch}.chat-messages::-webkit-scrollbar{width:4px}.chat-messages::-webkit-scrollbar-thumb{background:var(--border);border-radius:2px}.chat-user{align-self:flex-end;max-width:75%}.chat-user-label{font-size:.6rem;font-weight:600;letter-spacing:.1em;text-transform:uppercase;color:#fff9;margin-bottom:.35rem}.chat-user p{background:var(--text);color:#fff;padding:.85rem 1.25rem;border-radius:var(--radius-lg) var(--radius-lg) 4px var(--radius-lg);font-size:.9rem;line-height:1.6}.chat-assistant{align-self:flex-start;max-width:100%;width:100%}.chat-assistant-header{display:flex;align-items:center;justify-content:space-between;margin-bottom:.75rem}.chat-assistant-label{display:flex;align-items:center;gap:.5rem;font-size:.7rem;font-weight:600;letter-spacing:.08em;text-transform:uppercase;color:var(--text-muted)}.chat-assistant-label .nike-swoosh{width:20px;height:9px;color:var(--text-muted)}.chat-iteration-badge{font-size:.6rem;font-weight:600;letter-spacing:.08em;text-transform:uppercase;color:var(--text-secondary);background:var(--surface-alt);border:1px solid var(--border-light);padding:.2rem .6rem;border-radius:100px}.chat-assistant-text{font-size:.9rem;line-height:1.7;color:var(--text);margin-bottom:.75rem;padding:.85rem 1.25rem;background:var(--surface);border:1px solid var(--border-light);border-radius:4px var(--radius-lg) var(--radius-lg) var(--radius-lg)}.chat-assistant-text:last-child{margin-bottom:0}.chat-assistant-text p{margin:0 0 .5rem}.chat-assistant-text p:last-child{margin-bottom:0}.chat-assistant-text strong{font-weight:600;color:var(--text)}.chat-assistant-text em{font-style:italic}.chat-assistant-text ul,.chat-assistant-text ol{margin:.4rem 0;padding-left:1.25rem}.chat-assistant-text li{margin-bottom:.2rem}.chat-assistant-text code{font-size:.8rem;padding:.1rem .35rem;background:var(--surface-alt);border-radius:4px}.chat-welcome{text-align:center;padding:3rem 2rem;color:var(--text-muted)}.chat-welcome-title{font-family:Playfair Display,Georgia,serif;font-size:1.4rem;font-weight:400;color:var(--text);margin-bottom:.5rem}.chat-welcome-sub{font-size:.85rem;line-height:1.6;max-width:400px;margin:0 auto}.chat-imagery{display:grid;grid-template-columns:repeat(auto-fill,minmax(200px,1fr));gap:.75rem;margin-bottom:.75rem}.chat-img-card{border-radius:var(--radius);overflow:hidden;background:var(--surface);border:1px solid var(--border-light);box-shadow:var(--shadow-sm);transition:all .3s ease}.chat-img-card:hover{box-shadow:var(--shadow-md);transform:translateY(-2px)}.chat-img-card img{width:100%;height:auto;display:block}.chat-purchase-link{display:inline-flex;align-items:center;gap:.35rem;font-size:.75rem;font-weight:600;color:var(--text);text-decoration:none;padding:.5rem 1rem;background:var(--surface);border:1px solid var(--border);border-radius:100px;transition:all .2s}.chat-purchase-link:hover{background:var(--text);color:#fff;border-color:var(--text)}.chat-crafting{display:flex;align-items:center;gap:1rem;padding:1rem 0;font-size:.85rem;color:var(--text-muted)}.chat-crafting-orb{position:relative;width:32px;height:32px;flex-shrink:0}.chat-crafting-orb .crafting-orb{position:absolute;inset:6px;border-radius:50%;background:linear-gradient(135deg,#c4754b,#2d8f5c,#1a3a5c);animation:orb-pulse 2s ease-in-out infinite}.chat-crafting-orb .crafting-orb-ring{position:absolute;inset:0;border-radius:50%;border:1.5px solid var(--border);border-top-color:var(--text);border-right-color:transparent;animation:orb-spin 2s linear infinite}.chat-input-area{flex-shrink:0;border-top:1px solid var(--border-light);padding-top:.75rem}.chat-refine-chips{display:flex;gap:.4rem;overflow-x:auto;-webkit-overflow-scrolling:touch;scrollbar-width:none;padding-bottom:.5rem}.chat-refine-chips::-webkit-scrollbar{display:none}.chat-refine-chips .suggestion-chip{flex-shrink:0;font-size:.7rem;padding:.35rem .75rem;min-height:auto}.chat-input-bar{display:flex;align-items:center;gap:.5rem;background:var(--surface);border:1.5px solid var(--border-light);border-radius:100px;padding:.35rem .35rem .35rem 1.25rem;transition:border-color .2s,box-shadow .2s}.chat-input-bar:focus-within{border-color:var(--text);box-shadow:var(--shadow-sm)}.chat-input{flex:1;border:none;outline:none;background:transparent;font-family:inherit;font-size:.9rem;color:var(--text);min-width:0}.chat-input::placeholder{color:var(--text-muted)}.chat-input:disabled{opacity:.5}.chat-attach-btn{width:36px;height:36px;border-radius:50%;border:none;background:transparent;color:var(--text-muted);cursor:pointer;display:flex;align-items:center;justify-content:center;flex-shrink:0;transition:color .2s}.chat-attach-btn:hover:not(:disabled){color:var(--text)}.chat-attach-btn:disabled{opacity:.3;cursor:not-allowed}.chat-image-preview{position:relative;display:inline-block;margin-bottom:.5rem}.chat-image-preview img{height:64px;width:auto;border-radius:var(--radius);border:1px solid var(--border-light);object-fit:cover}.chat-image-remove{position:absolute;top:-6px;right:-6px;width:20px;height:20px;border-radius:50%;border:none;background:var(--text);color:#fff;cursor:pointer;display:flex;align-items:center;justify-content:center;transition:background .2s}.chat-image-remove:hover{background:var(--error)}.chat-user-image{margin-bottom:.5rem}.chat-user-image img{max-width:200px;max-height:160px;border-radius:var(--radius);object-fit:cover;display:block}.chat-send-btn{width:40px;height:40px;border-radius:50%;border:none;background:var(--text);color:#fff;cursor:pointer;display:flex;align-items:center;justify-content:center;flex-shrink:0;transition:all .2s}.chat-send-btn:hover:not(:disabled){background:#333;transform:scale(1.05)}.chat-send-btn:disabled{opacity:.25;cursor:not-allowed}.chat-kofi-nudge{text-align:center;padding:.75rem 1rem;font-size:.75rem;color:var(--text-muted);display:flex;align-items:center;justify-content:center;gap:.5rem;flex-wrap:wrap}.kofi-chat-link{color:#72a4f2;text-decoration:none;font-weight:600;transition:color .2s}.kofi-chat-link:hover{color:#5a8fd6}.result-hero{text-align:center;margin-bottom:3rem}.result-badge{display:inline-block;font-size:.65rem;font-weight:700;letter-spacing:.12em;text-transform:uppercase;padding:.4rem 1rem;background:var(--surface-alt);border:1px solid var(--border-light);border-radius:100px;color:var(--text-secondary);margin-bottom:1.5rem}.result-title{font-family:Playfair Display,Georgia,serif;font-size:clamp(2rem,4vw,2.8rem);font-weight:400;letter-spacing:-.02em;margin-bottom:.75rem}.result-subtitle{font-size:1rem;color:var(--text-secondary);line-height:1.6}.result-imagery{display:grid;grid-template-columns:repeat(auto-fill,minmax(300px,1fr));gap:1.25rem;margin-bottom:3rem}.result-img-card{border-radius:var(--radius-lg);overflow:hidden;background:var(--surface);border:1px solid var(--border-light);box-shadow:var(--shadow-sm);transition:all .4s cubic-bezier(.23,1,.32,1);position:relative}.result-img-card:hover{transform:translateY(-4px);box-shadow:var(--shadow-lg)}.result-img-card img{width:100%;height:auto;display:block}.result-img-label{position:absolute;top:.75rem;left:.75rem;font-size:.6rem;font-weight:600;letter-spacing:.1em;text-transform:uppercase;padding:.25rem .6rem;background:#ffffffe6;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);border-radius:100px;color:var(--text)}.result-actions{display:flex;justify-content:center;gap:1rem;flex-wrap:wrap}.studio-error{max-width:600px;margin:0 auto 1.5rem;padding:1rem 1.5rem;background:#c44b4b0f;border:1px solid rgba(196,75,75,.15);border-radius:var(--radius);color:var(--error);font-size:.85rem;text-align:center}@media(max-width:1024px){.studio-shoe-grid,.result-imagery{grid-template-columns:repeat(2,1fr)}}@media(max-width:768px){.studio-nav{padding:.65rem 1rem;gap:.5rem}.studio-nav-back{font-size:.7rem;min-width:0}.studio-nav-center .nike-swoosh{width:28px;height:12px}.studio-nav-title{font-size:.6rem;letter-spacing:.1em}.studio-designs-count{padding:.25rem .6rem}.designs-count-num{font-size:.75rem}.designs-count-label{font-size:.55rem}.xp-bar-wrapper{padding:.75rem 1rem .5rem}.xp-bar-label{font-size:.55rem}.xp-bar-value{font-size:.65rem}.xp-bar-track{height:5px}.xp-bar-phases{display:none}.phase-indicator{padding:.75rem 1rem;gap:0;justify-content:space-between;overflow-x:auto;-webkit-overflow-scrolling:touch;scrollbar-width:none}.phase-indicator::-webkit-scrollbar{display:none}.phase-step{flex-shrink:0}.phase-step-circle{width:30px;height:30px;font-size:.6rem}.phase-step-text{font-size:.55rem;display:none}.phase-step-line{width:20px;margin:0 .15rem}.studio-content{padding:.75rem 1rem .5rem}.phase-header{flex-direction:column;gap:.5rem;margin-bottom:1.75rem}.phase-header-icon{font-size:1.75rem;min-width:auto}.phase-title{font-size:1.4rem}.phase-subtitle{font-size:.8rem}.studio-shoe-grid{grid-template-columns:1fr;gap:.75rem}.studio-shoe-card-inner{padding:1.25rem}.studio-shoe-name{font-size:.9rem}.studio-shoe-card{min-height:44px}.shoe-card-sample{aspect-ratio:16/10}.shoe-card-sample-prompt{font-size:.65rem;-webkit-line-clamp:1}.shoe-card-arrow{opacity:.4}.prompt-selected-shoe{flex-direction:column;gap:.5rem;align-items:stretch;padding:.85rem 1rem;margin-bottom:1.25rem}.prompt-shoe-info{flex-wrap:wrap;gap:.5rem}.prompt-shoe-name{font-size:.8rem}.prompt-selected-shoe .btn{align-self:flex-start}.studio-prompt-box{padding:1.25rem;border-radius:var(--radius-lg)}.studio-prompt-textarea{min-height:110px;font-size:1rem;line-height:1.7}.studio-prompt-footer{flex-direction:column;gap:.75rem;align-items:stretch;margin-top:1rem;padding-top:1rem}.prompt-char-count{font-size:.7rem}.studio-prompt-actions{display:flex;flex-direction:column-reverse;gap:.5rem;align-items:stretch}.prompt-hint-key{display:none}.btn-generate{width:100%;justify-content:center}.prompt-suggestions{margin-top:1.25rem}.prompt-suggestions-label{font-size:.6rem;margin-bottom:.5rem}.prompt-suggestion-chips{display:flex;flex-wrap:nowrap;overflow-x:auto;-webkit-overflow-scrolling:touch;scrollbar-width:none;gap:.5rem;padding-bottom:.25rem}.prompt-suggestion-chips::-webkit-scrollbar{display:none}.suggestion-chip{flex-shrink:0;font-size:.75rem;padding:.5rem .85rem;min-height:36px}.crafting-screen{padding:3rem 1.25rem;min-height:45vh}.crafting-orb-wrapper{width:64px;height:64px;margin-bottom:2rem}.crafting-title{font-size:1.25rem}.crafting-shoe{font-size:.8rem;margin-bottom:2rem}.crafting-step-item{font-size:.75rem}.crafting-tip{font-size:.75rem;padding:.85rem 1rem}.result-hero{margin-bottom:2rem}.result-badge{font-size:.6rem;margin-bottom:1rem}.result-title{font-size:1.6rem}.result-subtitle{font-size:.85rem}.result-imagery{grid-template-columns:1fr;gap:1rem;margin-bottom:2rem}.result-img-card{border-radius:var(--radius)}.result-actions{flex-direction:column;align-items:stretch;gap:.5rem}.result-actions .btn,.result-actions a{text-align:center;justify-content:center;width:100%;min-height:48px}.studio-chat{height:100%}.chat-header{flex-direction:column;align-items:flex-start;gap:.5rem}.chat-header-actions{width:100%}.chat-header-actions .btn{flex:1;text-align:center;justify-content:center}.chat-user{max-width:90%}.chat-user p{font-size:.85rem;padding:.75rem 1rem}.chat-imagery{grid-template-columns:repeat(2,1fr);gap:.5rem}.chat-input{font-size:16px}.chat-send-btn{width:36px;height:36px}.chat-refine-chips .suggestion-chip{font-size:.65rem}.studio-error{margin-left:0;margin-right:0;font-size:.8rem;padding:.85rem 1rem}.achievement-container{left:1rem;right:1rem;bottom:1rem;transform:none}.achievement-toast{padding:.85rem 1.25rem;border-radius:var(--radius-lg);width:100%}.achievement-icon{font-size:1.25rem}.achievement-title{font-size:.8rem}.achievement-label{font-size:.5rem}}@media(max-width:480px){.studio-nav{padding:.6rem .75rem}.studio-nav-back{font-size:0;padding:.35rem}.studio-nav-back svg{width:20px;height:20px}.studio-nav-title{font-size:.55rem}.xp-bar-wrapper{padding:.5rem .75rem .35rem}.phase-indicator{padding:.5rem .75rem}.phase-step-circle{width:26px;height:26px;font-size:.55rem}.phase-step-line{width:14px}.studio-content{padding:.5rem .75rem}.phase-title{font-size:1.2rem}.phase-subtitle{font-size:.75rem}.studio-shoe-card-inner{padding:1rem}.studio-shoe-name{font-size:.85rem}.studio-shoe-id{font-size:.6rem}.studio-prompt-box{padding:1rem}.studio-prompt-textarea{min-height:90px;font-size:.95rem}.result-title{font-size:1.35rem}.crafting-title{font-size:1.1rem}.crafting-steps{gap:.5rem;margin-bottom:2rem}.crafting-step-item{font-size:.7rem}.chat-imagery{grid-template-columns:1fr}.chat-user{max-width:95%}}@supports (padding-bottom: env(safe-area-inset-bottom)){.studio-nav{padding-top:max(.65rem,env(safe-area-inset-top));padding-left:max(1rem,env(safe-area-inset-left));padding-right:max(1rem,env(safe-area-inset-right))}.studio-content{padding-left:max(1rem,env(safe-area-inset-left));padding-right:max(1rem,env(safe-area-inset-right));padding-bottom:max(3rem,calc(env(safe-area-inset-bottom) + 1rem))}.achievement-container{bottom:max(1rem,calc(env(safe-area-inset-bottom) + .5rem))}}.app{min-height:100vh;display:flex;flex-direction:column;background:var(--bg)}.navbar{display:flex;align-items:center;justify-content:space-between;padding:1.25rem 3rem;background:#fafaf8d9;backdrop-filter:blur(20px);-webkit-backdrop-filter:blur(20px);position:sticky;top:0;z-index:100;border-bottom:1px solid var(--border-light)}.navbar-brand{display:flex;align-items:center;gap:.75rem}.nike-swoosh{width:48px;height:20px;color:var(--text)}.navbar-title{font-size:.75rem;font-weight:600;letter-spacing:.2em;text-transform:uppercase;color:var(--text-muted)}.navbar-badge{font-size:.65rem;font-weight:600;letter-spacing:.12em;text-transform:uppercase;padding:.35rem .85rem;background:var(--text);color:#fff;border-radius:100px}.hero{position:relative;display:flex;align-items:center;min-height:85vh;padding:6rem 3rem;overflow:hidden}.hero-content{position:relative;z-index:2;max-width:680px}.hero-eyebrow{font-size:.7rem;font-weight:600;letter-spacing:.25em;text-transform:uppercase;color:var(--text-muted);margin-bottom:2rem;display:flex;align-items:center;gap:.75rem}.hero-eyebrow:before{content:"";width:32px;height:1px;background:var(--text-muted)}.hero h1{font-family:Playfair Display,Georgia,serif;font-size:clamp(3.2rem,7vw,5.5rem);font-weight:400;line-height:1.05;letter-spacing:-.02em;margin-bottom:2rem;color:var(--text)}.hero h1 em{font-style:italic;font-weight:700}.hero-sub{font-size:1.1rem;color:var(--text-secondary);max-width:440px;line-height:1.7;font-weight:400}.hero-cta{margin-top:3rem;display:flex;align-items:center;gap:1.5rem}.hero-shoes{position:absolute;top:0;right:0;width:55%;height:100%;z-index:1;pointer-events:none}.hero-floating-shoe{filter:drop-shadow(0 20px 40px rgba(0,0,0,.12))}.hero-shoe-img{width:100%;height:auto;display:block}.hero-glow{position:absolute;border-radius:50%;filter:blur(80px);opacity:.3;pointer-events:none}.hero-glow-1{width:300px;height:300px;background:#5ec4d4;top:15%;right:10%}.hero-glow-2{width:250px;height:250px;background:#c4754b;bottom:15%;right:30%}.gallery{padding:8rem 3rem;background:var(--surface);border-top:1px solid var(--border-light);border-bottom:1px solid var(--border-light)}.gallery-header{display:flex;align-items:flex-end;justify-content:space-between;margin-bottom:4rem;max-width:1400px;margin-left:auto;margin-right:auto}.gallery-header h2{font-family:Playfair Display,Georgia,serif;font-size:clamp(2rem,4vw,3rem);font-weight:400;letter-spacing:-.02em}.gallery-header h2 em{font-style:italic}.gallery-header p{font-size:.85rem;color:var(--text-muted);max-width:300px;text-align:right;line-height:1.6}.gallery-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:1.5rem;max-width:1400px;margin:0 auto}.gallery-card{position:relative;aspect-ratio:1/1;border-radius:var(--radius-lg);overflow:hidden;cursor:default;transition:transform .5s cubic-bezier(.23,1,.32,1);background:var(--surface-alt)}.gallery-card:hover{transform:scale(1.02)}.gallery-card-bg{position:absolute;inset:0;transition:transform .6s cubic-bezier(.23,1,.32,1)}.gallery-card-img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;transition:transform .6s cubic-bezier(.23,1,.32,1)}.gallery-card:hover .gallery-card-bg,.gallery-card:hover .gallery-card-img{transform:scale(1.05)}.gallery-card-overlay{position:absolute;inset:0;background:linear-gradient(to top,rgba(0,0,0,.5) 0%,transparent 50%);z-index:1}.gallery-card-info{position:absolute;bottom:0;left:0;right:0;padding:1.5rem;z-index:2;color:#fff}.gallery-card-label{font-size:.6rem;font-weight:600;letter-spacing:.15em;text-transform:uppercase;opacity:.7;margin-bottom:.5rem}.gallery-card-name{font-family:Playfair Display,Georgia,serif;font-size:1.1rem;font-weight:400;line-height:1.3}.how-it-works{padding:8rem 3rem;max-width:1100px;margin:0 auto;width:100%}.how-it-works-header{text-align:center;margin-bottom:5rem}.how-it-works-header h2{font-family:Playfair Display,Georgia,serif;font-size:clamp(2rem,4vw,3rem);font-weight:400;letter-spacing:-.02em;margin-bottom:1rem}.how-it-works-header p{font-size:1rem;color:var(--text-secondary);max-width:500px;margin:0 auto;line-height:1.7}.steps-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:3rem}.step-card{text-align:center;padding:2.5rem 2rem}.step-number{font-family:Playfair Display,Georgia,serif;font-size:3.5rem;font-weight:400;color:var(--border);margin-bottom:1.5rem;line-height:1}.step-card h3{font-size:1rem;font-weight:700;letter-spacing:.05em;text-transform:uppercase;margin-bottom:.75rem}.step-card p{font-size:.9rem;color:var(--text-secondary);line-height:1.7}.steps-progress{display:flex;justify-content:center;gap:0;margin:0 auto 3rem;max-width:480px}.progress-step{display:flex;align-items:center;gap:.5rem;padding:0 1.25rem;position:relative}.progress-step:not(:last-child):after{content:"";position:absolute;right:-12px;top:50%;transform:translateY(-50%);width:24px;height:1px;background:var(--border)}.progress-step-num{width:32px;height:32px;border-radius:50%;display:flex;align-items:center;justify-content:center;font-size:.75rem;font-weight:700;background:var(--surface);border:1.5px solid var(--border);color:var(--text-muted);transition:all .3s ease}.progress-step.active .progress-step-num{background:var(--text);border-color:var(--text);color:#fff}.progress-step.done .progress-step-num{background:var(--success);border-color:var(--success);color:#fff}.progress-step-label{font-size:.7rem;font-weight:600;color:var(--text-muted);text-transform:uppercase;letter-spacing:.08em;transition:color .3s}.progress-step.active .progress-step-label{color:var(--text)}.progress-step.done .progress-step-label{color:var(--success)}.designer-section{padding:5rem 3rem 8rem;max-width:1200px;margin:0 auto;width:100%}.designer-section-header{text-align:center;margin-bottom:4rem}.designer-section-header h2{font-family:Playfair Display,Georgia,serif;font-size:clamp(2rem,4vw,2.8rem);font-weight:400;letter-spacing:-.02em;margin-bottom:.75rem}.designer-section-header p{font-size:.95rem;color:var(--text-secondary);line-height:1.7}.section-label{font-size:.7rem;font-weight:600;letter-spacing:.2em;text-transform:uppercase;color:var(--text-muted);margin-bottom:1.5rem}.shoe-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:1rem}.shoe-card{background:var(--surface);border:1.5px solid var(--border-light);border-radius:var(--radius);padding:1.75rem;cursor:pointer;transition:all .3s cubic-bezier(.23,1,.32,1);position:relative;overflow:hidden}.shoe-card:hover{border-color:var(--border);box-shadow:var(--shadow-md);transform:translateY(-2px)}.shoe-card.selected{border-color:var(--text);box-shadow:var(--shadow-md)}.shoe-card.selected:before{content:"";position:absolute;top:0;left:0;right:0;height:2px;background:var(--text)}.shoe-card-check{position:absolute;top:1rem;right:1rem;width:22px;height:22px;border-radius:50%;background:var(--text);display:flex;align-items:center;justify-content:center;opacity:0;transform:scale(.5);transition:all .3s cubic-bezier(.23,1,.32,1)}.shoe-card.selected .shoe-card-check{opacity:1;transform:scale(1)}.shoe-card-name{font-size:.95rem;font-weight:600;margin-bottom:.35rem;color:var(--text)}.shoe-card-id{font-size:.7rem;color:var(--text-muted);font-family:SF Mono,Fira Code,monospace;letter-spacing:.02em}.setup-bar{display:flex;align-items:center;justify-content:space-between;gap:1rem;padding:1.25rem 1.75rem;background:var(--surface);border:1.5px solid var(--border-light);border-radius:var(--radius);margin-bottom:2.5rem;box-shadow:var(--shadow-sm)}.setup-bar-info{display:flex;align-items:center;gap:.75rem}.setup-bar-shoe{font-weight:600;font-size:.95rem}.setup-bar-status{font-size:.7rem;font-weight:600;letter-spacing:.08em;text-transform:uppercase;color:var(--text-muted)}.setup-bar-status.ready{color:var(--success)}.btn{display:inline-flex;align-items:center;justify-content:center;gap:.5rem;padding:.85rem 2rem;font-size:.8rem;font-weight:600;font-family:inherit;letter-spacing:.08em;text-transform:uppercase;border:none;border-radius:100px;cursor:pointer;transition:all .3s cubic-bezier(.23,1,.32,1)}.btn-primary{background:var(--text);color:#fff}.btn-primary:hover:not(:disabled){background:#333;transform:translateY(-1px);box-shadow:var(--shadow-lg)}.btn-primary:disabled{opacity:.3;cursor:not-allowed}.btn-outline{background:transparent;color:var(--text);border:1.5px solid var(--border)}.btn-outline:hover{border-color:var(--text);background:var(--surface)}.btn-large{padding:1.1rem 3rem;font-size:.85rem}.btn-ghost{background:transparent;color:var(--text-secondary);padding:.85rem 1.5rem}.btn-ghost:hover{color:var(--text)}.prompt-section{max-width:720px;margin:0 auto;width:100%}.prompt-box{background:var(--surface);border:1.5px solid var(--border-light);border-radius:var(--radius-lg);padding:2rem 2.5rem;transition:all .3s ease;box-shadow:var(--shadow-sm)}.prompt-box:focus-within{border-color:var(--text);box-shadow:var(--shadow-md)}.prompt-textarea{width:100%;min-height:130px;background:transparent;border:none;outline:none;color:var(--text);font-family:inherit;font-size:1.05rem;line-height:1.8;resize:vertical}.prompt-textarea::placeholder{color:var(--text-muted)}.prompt-footer{display:flex;align-items:center;justify-content:space-between;margin-top:1.5rem;padding-top:1.5rem;border-top:1px solid var(--border-light)}.prompt-hint{font-size:.75rem;color:var(--text-muted);letter-spacing:.02em}.loading-overlay{display:flex;flex-direction:column;align-items:center;justify-content:center;padding:8rem 2rem;gap:2rem}.loader{width:40px;height:40px;border-radius:50%;border:2px solid var(--border);border-top-color:var(--text);animation:spin .9s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}.loading-text{font-size:1rem;font-weight:500;color:var(--text-secondary)}.loading-sub{font-size:.8rem;color:var(--text-muted);margin-top:-1rem}.results{max-width:1100px;margin:0 auto;padding:0 3rem 8rem;width:100%}.results-header{text-align:center;margin-bottom:4rem}.results-header h2{font-family:Playfair Display,Georgia,serif;font-size:clamp(2rem,4vw,2.8rem);font-weight:400;letter-spacing:-.02em;margin-bottom:.75rem}.results-header p{color:var(--text-secondary);font-size:1rem;line-height:1.6}.imagery-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(320px,1fr));gap:1.5rem;margin-bottom:4rem}.imagery-card{border-radius:var(--radius-lg);overflow:hidden;background:var(--surface);border:1px solid var(--border-light);box-shadow:var(--shadow-sm);transition:all .4s cubic-bezier(.23,1,.32,1)}.imagery-card:hover{transform:translateY(-4px);box-shadow:var(--shadow-lg)}.imagery-card img{width:100%;height:auto;display:block}.results-actions{display:flex;justify-content:center;gap:1rem;flex-wrap:wrap}.purchase-link{display:inline-flex;align-items:center;gap:.5rem;padding:1.1rem 3rem;font-size:.85rem;font-weight:600;font-family:inherit;letter-spacing:.08em;text-transform:uppercase;text-decoration:none;background:var(--text);color:#fff;border-radius:100px;transition:all .3s cubic-bezier(.23,1,.32,1)}.purchase-link:hover{background:#333;transform:translateY(-1px);box-shadow:var(--shadow-lg)}.error-banner{max-width:720px;margin:0 auto 2rem;padding:1rem 1.5rem;background:#c44b4b0f;border:1px solid rgba(196,75,75,.15);border-radius:var(--radius);color:var(--error);font-size:.9rem;text-align:center}.footer{padding:4rem 3rem;border-top:1px solid var(--border-light);text-align:center}.footer-brand{display:flex;align-items:center;justify-content:center;gap:.5rem;margin-bottom:1rem}.footer-brand .nike-swoosh{width:36px;height:15px}.footer p{font-size:.75rem;color:var(--text-muted);letter-spacing:.05em}.footer-credit{margin-top:1rem;font-size:.7rem;color:var(--text-muted)}.footer-credit a{color:var(--text-secondary);text-decoration:none;font-weight:500;transition:color .2s}.footer-credit a:hover{color:var(--text)}.footer-kofi{margin-top:1.25rem}@media(max-width:1024px){.gallery-grid{grid-template-columns:repeat(2,1fr)}.hero-shoes{width:45%;opacity:.8}.how-it-works{padding:6rem 2rem}.steps-grid{gap:2rem}}@media(max-width:768px){.navbar{padding:.85rem 1.25rem}.nike-swoosh{width:40px;height:17px}.navbar-title{font-size:.65rem}.navbar-badge{font-size:.6rem;padding:.3rem .65rem}.hero{padding:3rem 1.25rem;min-height:auto;flex-direction:column}.hero-shoes{display:none}.hero-content{max-width:100%}.hero-eyebrow{font-size:.6rem;margin-bottom:1.25rem}.hero h1{font-size:clamp(2.4rem,10vw,3.5rem);margin-bottom:1.25rem}.hero-sub{font-size:.95rem;line-height:1.6}.hero-cta{flex-direction:column;align-items:stretch;gap:.75rem;margin-top:2rem}.hero-cta .btn{text-align:center;justify-content:center}.gallery{padding:4rem 1.25rem}.gallery-grid{grid-template-columns:1fr 1fr;gap:.75rem}.gallery-header{flex-direction:column;align-items:flex-start;gap:.75rem;margin-bottom:2rem}.gallery-header h2{font-size:1.8rem}.gallery-header p{text-align:left;font-size:.8rem}.gallery-card{aspect-ratio:3/4;border-radius:var(--radius)}.gallery-card-info{padding:1rem}.gallery-card-name{font-size:.9rem}.gallery-card-label{font-size:.5rem;margin-bottom:.25rem}.how-it-works{padding:4rem 1.25rem}.how-it-works-header{margin-bottom:3rem}.how-it-works-header h2{font-size:1.8rem}.how-it-works-header p{font-size:.9rem}.steps-grid{grid-template-columns:1fr;gap:1rem}.step-card{text-align:left;padding:1.5rem;display:flex;gap:1.25rem;align-items:flex-start}.step-number{font-size:2rem;margin-bottom:0;flex-shrink:0}.step-card h3{margin-bottom:.35rem}.btn{min-height:44px}.btn-large{padding:1rem 2rem;font-size:.8rem;width:100%}.footer{padding:3rem 1.25rem}.footer p{font-size:.7rem}}@media(max-width:480px){.navbar{padding:.75rem 1rem}.gallery-grid{grid-template-columns:1fr;gap:1rem}.gallery-card{aspect-ratio:16/10}.hero{padding:2.5rem 1rem}.hero h1{font-size:2.2rem}.hero-sub{font-size:.85rem}.step-card{padding:1.25rem 1rem;gap:1rem}.step-number{font-size:1.5rem}.how-it-works,.gallery{padding:3rem 1rem}.footer{padding:2.5rem 1rem}}@supports (padding-bottom: env(safe-area-inset-bottom)){.navbar{padding-top:max(.85rem,env(safe-area-inset-top));padding-left:max(1.25rem,env(safe-area-inset-left));padding-right:max(1.25rem,env(safe-area-inset-right))}.footer{padding-bottom:max(3rem,calc(env(safe-area-inset-bottom) + 1.5rem))}}
