*{margin:0;padding:0;box-sizing:border-box}:root{font-family:Inter,system-ui,Avenir,Helvetica,Arial,sans-serif;line-height:1.5;font-weight:400;color-scheme:dark;color:#ffffffde;background-color:#1a1a1a;font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}body{margin:0;padding:0;min-width:320px;min-height:100vh;overflow:hidden}h1,h2,h3,h4,h5,h6{margin:0;padding:0}button{font-family:inherit}::-webkit-scrollbar{width:10px;height:10px}::-webkit-scrollbar-track{background:#1a1a1a}::-webkit-scrollbar-thumb{background:#404040;border-radius:5px}::-webkit-scrollbar-thumb:hover{background:#505050}#root{width:100vw;height:100vh;margin:0;padding:0;overflow:hidden;background:#050507}.app-shell{display:flex;flex-direction:column;height:100vh;background:#09090b;color:#e0e0e0}.app-main{flex:1;display:flex;min-height:0;width:100%}.app-main.generator-view{background:#111}.app-main.examples-view{background:#08080d}.app-container{flex:1;display:flex;width:100%;height:100%;background:#1a1a1a;color:#e0e0e0}@media(max-width:768px){#root,body,.app-shell{height:auto;overflow:visible}.app-main{height:auto;flex-direction:column}.app-container{flex-direction:column;height:auto}}.left-panel{flex:1;padding:1rem 1.5rem;overflow-y:auto;border-right:2px solid #333;background:#1e1e1e}.left-panel h1{font-size:1.3rem;margin-bottom:1rem;color:#fff;text-align:center}.form-section{margin-bottom:1rem;background:#252525;padding:.8rem;border-radius:6px}.form-section h2{font-size:1rem;margin:0 0 .8rem;color:#fff;font-weight:600}.form-section h3{font-size:.9rem;margin:.8rem 0 .5rem;color:#ddd;font-weight:500}.form-section label{display:block;margin-bottom:.3rem;color:#b0b0b0;font-size:.8rem;font-weight:500}.form-section input[type=text],.form-section textarea,.form-section select{width:100%;padding:.5rem;background:#2a2a2a;border:1px solid #404040;border-radius:4px;color:#e0e0e0;font-size:.85rem;font-family:inherit;transition:border-color .2s}.form-section input[type=text]:focus,.form-section textarea:focus,.form-section select:focus{outline:none;border-color:#4a9eff}.form-section textarea{resize:vertical;min-height:50px}.form-group{margin-bottom:.7rem}.label-stack{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:baseline;gap:.35rem;margin-bottom:.3rem}.label-stack label{margin:0;color:#e0e0e0}.helper-text{font-size:.7rem;color:#9ca3af;line-height:1.1;flex:1 1 160px;text-align:right}.section-helper{margin:-.4rem 0 .6rem;font-size:.75rem;color:#a1a1a1}.checkbox-label{display:flex;align-items:center;cursor:pointer;font-size:.85rem;color:#ddd}.checkbox-label input[type=checkbox]{margin-right:.5rem;cursor:pointer}.lighting-group{margin-bottom:.8rem;padding:.6rem;background:#2a2a2a;border-radius:4px}.light-details{display:flex;flex-direction:column;gap:.4rem;margin-top:.6rem;padding-left:1.2rem}.light-details input{padding:.5rem;font-size:.8rem}.left-panel::-webkit-scrollbar{width:6px}.left-panel::-webkit-scrollbar-track{background:#1e1e1e}.left-panel::-webkit-scrollbar-thumb{background:#404040;border-radius:3px}.left-panel::-webkit-scrollbar-thumb:hover{background:#505050}@media(max-width:768px){.left-panel{border-right:none;border-bottom:2px solid #333;padding:1rem;overflow-y:visible;height:auto}}.right-panel{flex:1;display:flex;flex-direction:column;padding:1rem 1.5rem;background:#1a1a1a}.json-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:.8rem;padding-bottom:.8rem;border-bottom:2px solid #333}.json-header h2{font-size:1.3rem;color:#fff;margin:0}.button-group{display:flex;gap:.4rem}.format-btn,.copy-btn,.clear-btn{padding:.5rem 1rem;border:none;border-radius:5px;font-size:.85rem;font-weight:600;cursor:pointer;transition:all .2s}.format-btn{background:#2a7fff;color:#fff}.format-btn:hover:not(:disabled){background:#3d8fff;transform:translateY(-1px)}.copy-btn{background:linear-gradient(135deg,#667eea,#764ba2);color:#fff}.copy-btn:hover:not(:disabled){transform:translateY(-1px);box-shadow:0 4px 12px #667eea66}.clear-btn{background:#d32f2f;color:#fff}.clear-btn:hover{background:#e53935;transform:translateY(-1px)}.format-btn:disabled,.copy-btn:disabled{opacity:.5;cursor:not-allowed}.json-output{flex:1;width:100%;padding:1.5rem;background:#0d0d0d;border:1px solid #333;border-radius:8px;color:#4ec9b0;font-family:Courier New,Courier,monospace;font-size:.9rem;line-height:1.6;resize:none;overflow-y:auto}.json-output:focus{outline:none;border-color:#4a9eff}.json-output::placeholder{color:#666}.json-output::-webkit-scrollbar{width:8px}.json-output::-webkit-scrollbar-track{background:#0d0d0d}.json-output::-webkit-scrollbar-thumb{background:#404040;border-radius:4px}.json-output::-webkit-scrollbar-thumb:hover{background:#505050}@media(max-width:1024px){.right-panel{padding:.8rem}.json-header{flex-direction:column;gap:.8rem;align-items:flex-start}.button-group{width:100%;justify-content:stretch}.format-btn,.copy-btn,.clear-btn{flex:1}}@media(max-width:768px){.right-panel{height:auto;min-height:500px}.json-output{min-height:400px}}.language-switcher{display:flex;align-items:center;gap:.6rem}.language-switcher label{font-size:.85rem;color:#d1d5db}.language-switcher select{background:#1f2937;color:#f3f4f6;border:1px solid #374151;border-radius:6px;padding:.3rem .8rem;font-size:.85rem;cursor:pointer}.language-switcher select:focus{outline:none;border-color:#3b82f6}.app-header{display:flex;align-items:center;justify-content:space-between;gap:1rem;padding:.85rem 1.5rem;background:#0f0f10;border-bottom:1px solid #1f1f22}.brand-block{display:flex;align-items:center;gap:.85rem}.brand-mark{width:2.6rem;height:2.6rem;border-radius:.75rem;background:linear-gradient(135deg,#4f46e5,#3b82f6);display:flex;align-items:center;justify-content:center;font-weight:700;font-size:1rem;color:#fff;letter-spacing:.05em}.brand-copy{display:flex;flex-direction:column;line-height:1.2}.brand-title{font-size:1rem;font-weight:600;color:#f3f4f6}.brand-subtitle{font-size:.8rem;color:#a1a1aa}.primary-nav{display:flex;gap:.5rem;align-items:center}.nav-link{border:1px solid transparent;border-radius:999px;background:transparent;color:#d4d4d8;padding:.35rem .95rem;font-size:.9rem;cursor:pointer;transition:border-color .2s ease,color .2s ease,background .2s ease}.nav-link:hover{border-color:#3f3f46;color:#fff}.nav-link.active{background:#2563eb;border-color:#2563eb;color:#fff;box-shadow:0 0 18px #2563eb59}.header-actions{display:flex;align-items:center;gap:1rem}.github-link{display:inline-flex;align-items:center;gap:.4rem;border-radius:999px;border:1px solid #27272a;padding:.35rem .85rem;color:#e4e4e7;text-decoration:none;font-size:.85rem;transition:border-color .2s ease,color .2s ease}.github-link:hover{border-color:#3b82f6;color:#fff}.github-link svg{width:18px;height:18px}.header-main{display:flex;align-items:center;justify-content:space-between;width:100%}.mobile-menu-btn{display:none;background:none;border:none;cursor:pointer;padding:.5rem;z-index:100}.hamburger{display:block;width:24px;height:2px;background:#fff;position:relative;transition:background .2s}.hamburger:before,.hamburger:after{content:"";position:absolute;width:100%;height:100%;background:#fff;left:0;transition:transform .2s}.hamburger:before{top:-6px}.hamburger:after{top:6px}.hamburger.open{background:transparent}.hamburger.open:before{top:0;transform:rotate(45deg)}.hamburger.open:after{top:0;transform:rotate(-45deg)}.header-content{display:flex;align-items:center;gap:1rem;flex:1;justify-content:space-between;margin-left:2rem}@media(max-width:768px){.app-header{flex-direction:column;align-items:flex-start;padding:1rem;position:relative}.mobile-menu-btn{display:block}.header-content{display:none;flex-direction:column;width:100%;margin:0;padding-top:1rem;gap:1.5rem;align-items:stretch}.header-content.open{display:flex}.primary-nav{flex-direction:column;width:100%}.nav-link{width:100%;text-align:center;padding:.75rem}.header-actions{flex-direction:column;width:100%;gap:1rem}.github-link{justify-content:center;width:100%}}.examples-page{flex:1;display:flex;gap:1.25rem;padding:1.25rem;overflow:hidden}.examples-sidebar,.examples-detail,.examples-list-panel{border:1px solid #1d1f2c;border-radius:1.25rem;background:#0f1019;display:flex;flex-direction:column}.examples-sidebar{width:24%;min-width:240px;gap:1rem;padding:1.25rem;overflow-y:auto}.sidebar-card{border:1px solid #1f2534;border-radius:1rem;padding:1rem;display:flex;flex-direction:column;gap:.65rem;background:#0f1019b3}.eyebrow{font-size:.8rem;text-transform:uppercase;letter-spacing:.15em;color:#9ca3af}.sidebar-card h2{font-size:1.25rem}.intro-copy{color:#a1a1aa;line-height:1.4}.search-field{display:flex;flex-direction:column;gap:.4rem}.search-field span{font-size:.85rem;color:#9ca3af}.search-field input{background:#0c0d15;border:1px solid #1f2534;border-radius:.75rem;padding:.5rem .9rem;color:#f3f4f6;font-size:.95rem}.tag-filter{display:flex;flex-direction:column;gap:.4rem}.tag-filter-label{font-size:.8rem;color:#9ca3af}.tag-filter-row{display:flex;flex-wrap:wrap;gap:.35rem}.tag-chip{border:1px solid #2a2f3e;border-radius:999px;background:transparent;color:#cbd5f5;font-size:.75rem;padding:.3rem .9rem;cursor:pointer;transition:all .2s ease}.tag-chip.active{background:#2563eb;border-color:#2563eb;color:#fff;box-shadow:0 0 16px #2563eb59}.examples-detail{flex:1;padding:1.75rem;gap:1.25rem;overflow-y:auto}.detail-header h2{font-size:1.6rem;margin:.2rem 0}.detail-header p{color:#cbd5f5;line-height:1.5}.detail-gallery h3,.detail-card h3{font-size:1rem;margin-bottom:.6rem}.gallery-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(190px,1fr));gap:.75rem}.gallery-grid figure{border-radius:1rem;overflow:hidden;border:1px solid #1f2534;background:#0d0e15}.gallery-grid img{width:100%;height:200px;object-fit:cover;display:block}.gallery-grid figcaption{font-size:.75rem;color:#94a3b8;padding:.5rem .75rem}.detail-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:1rem}.detail-card{background:#0d0f19b3;border:1px solid #1f2534;border-radius:1rem;padding:1rem}.detail-card-header{display:flex;align-items:center;justify-content:space-between;gap:.5rem;margin-bottom:.5rem}.detail-card button{border:1px solid #2d3a5a;background:transparent;color:#cbd5f5;border-radius:.75rem;padding:.35rem .9rem;cursor:pointer;font-size:.8rem}.detail-card button:hover{border-color:#3b82f6;color:#fff}.prompt-text{font-family:JetBrains Mono,SFMono-Regular,Consolas,monospace;font-size:.82rem;line-height:1.5;color:#e5e7eb}.negative-card ul{padding-left:1.2rem;margin:0 0 .8rem;color:#e5e7eb;font-size:.85rem;line-height:1.4}.negative-styles{display:flex;flex-direction:column;gap:.35rem}.negative-styles span{font-size:.78rem;color:#9ca3af}.negative-styles div{display:flex;flex-wrap:wrap;gap:.35rem}.negative-styles div span{font-size:.75rem;color:#f3f4f6;padding:.2rem .6rem;border-radius:.75rem;background:#f8717126}.json-card pre{max-height:280px;overflow:auto;background:#0b0c13;border-radius:.75rem;padding:.75rem;font-size:.78rem;line-height:1.4;color:#e5e7eb}.meta-grid{display:grid;grid-template-columns:1.2fr .8fr;gap:1rem}.meta-row{display:flex;justify-content:space-between;gap:.8rem;padding:.35rem 0;border-bottom:1px solid #1f2534}.meta-row dt{font-size:.8rem;color:#9ca3af}.meta-row dd{font-size:.85rem;color:#e5e7eb;margin:0}.tag-card .tag-cloud{gap:.4rem}.tag-cloud span{padding:.35rem .75rem;border-radius:.75rem;background:#2563eb26;color:#bfdbfe;font-size:.78rem}.detail-empty{height:100%;border:1px dashed #2f2f3a;border-radius:1rem;display:flex;align-items:center;justify-content:center;color:#9ca3af}.examples-list-panel{width:28%;min-width:280px;padding:1.25rem;gap:1rem;overflow:hidden}.list-panel-header{display:flex;align-items:center;justify-content:space-between;font-size:.95rem;color:#cbd5f5}.list-panel-header span{background:#2563eb33;color:#93c5fd;border-radius:999px;padding:.1rem .6rem;font-size:.8rem}.example-list{flex:1;overflow-y:auto;display:flex;flex-direction:column;gap:.85rem;padding-right:.4rem}.example-card{display:flex;gap:.85rem;background:#151624;border:1px solid #1f2232;border-radius:1rem;padding:.65rem;cursor:pointer;transition:border-color .2s ease,transform .2s ease,box-shadow .2s ease}.example-card:hover{border-color:#2f374d;transform:translate(2px)}.example-card.selected{border-color:#3b82f6;box-shadow:0 8px 24px #2563eb40;transform:translate(4px)}.example-thumb{width:92px;height:92px;border-radius:.85rem;overflow:hidden}.example-thumb img{width:100%;height:100%;object-fit:cover;display:block}.example-content h3{font-size:1rem;margin-bottom:.2rem}.example-content p{font-size:.85rem;color:#a1a1aa}.example-chip-row{display:flex;gap:.4rem;margin-bottom:.4rem}.chip{font-size:.75rem;padding:.15rem .65rem;border-radius:999px;background:#3b82f626;color:#93c5fd}.example-tags{display:flex;flex-wrap:wrap;gap:.3rem;margin-top:.45rem}.example-tags span{font-size:.75rem;color:#cbd5f5}.examples-empty{border:1px dashed #2f2f3a;border-radius:.9rem;padding:1.5rem;color:#9ca3af;text-align:center}@media(max-width:1400px){.examples-page{flex-direction:column;overflow-y:auto;height:auto}.examples-sidebar,.examples-list-panel{width:100%;min-width:unset;flex-direction:row;flex-wrap:wrap}.examples-sidebar{max-height:none}.examples-list-panel{max-height:340px}.examples-detail{order:3}}@media(max-width:900px){.examples-sidebar,.examples-list-panel{flex-direction:column}.meta-grid{grid-template-columns:1fr}}@media(max-width:768px){.examples-page{padding:1rem;gap:1rem}.examples-sidebar,.examples-detail,.examples-list-panel{border-radius:.75rem;padding:1rem}.examples-list-panel{max-height:500px}.detail-header h2{font-size:1.4rem}.gallery-grid{grid-template-columns:repeat(auto-fill,minmax(140px,1fr))}.detail-grid{grid-template-columns:1fr}.example-card{flex-direction:column}.example-thumb{width:100%;height:160px}}
