.wrapper{--bg:#0f0f17;--fg:#e0e0e0;--accent:#8a6af5;--input-bg:#1e1e2a;--border-color:#444;--suggestion-bg:#1a1a22;--suggestion-hover:#292936;min-height:100vh;display:flex;flex-direction:column}.wrapper,body{background:var(--bg);color:var(--fg)}body{margin:0;font-family:Segoe UI,sans-serif}.app{min-height:100vh;display:flex;flex-direction:column}.main{flex:1 1;justify-content:center;padding:40px 20px}.chat,.main{display:flex;align-items:center}.chat{width:100%;max-width:720px;flex-direction:column;gap:24px}.title-block{text-align:center}.main-title{font-size:2rem;margin-bottom:8px;color:#f0f0f0}.subtitle{font-size:1rem;color:#aaa}.chat-window{width:100%;max-height:460px;padding:16px;overflow-y:auto;display:flex;flex-direction:column;gap:12px;scrollbar-width:none;-ms-overflow-style:none}.chat-window::-webkit-scrollbar{display:none}.chat-message{max-width:80%;padding:12px 16px;border-radius:12px;line-height:1.5;font-size:.95rem;white-space:pre-wrap;word-break:break-word}.chat-bot{align-self:flex-start;background-color:#1d1d2a;color:#d0d0ff;border:1px solid #444;border-left:4px solid var(--accent)}.chat-user{align-self:flex-end;background-color:#2a2a38;color:#f0f0f0;border:1px solid #444;border-right:4px solid var(--accent)}.prompt-block{width:100%}.prompt-input{width:100%;background:var(--input-bg);color:var(--fg);border:1px solid var(--border-color);padding:12px;border-radius:8px;font-size:1rem;resize:none;min-height:80px;margin-top:8px}.prompt-input:focus{outline:2px solid var(--accent);outline-offset:0}.samples-row{display:flex;align-items:center;gap:8px;margin-top:8px;overflow-x:auto;white-space:nowrap;-webkit-overflow-scrolling:touch;padding-bottom:4px;scrollbar-width:none}.samples-row::-webkit-scrollbar{display:none}.samples-row .chip{flex:0 0 auto}@media (min-width:900px){.samples-row{overflow-x:visible;white-space:normal;flex-wrap:wrap}.samples-row .chip{flex:0 1 auto}}@media (max-width:420px){.chip-sm{font-size:.78rem;padding:6px 9px}.samples-row{gap:6px}}.chip{-webkit-appearance:none;-moz-appearance:none;appearance:none;border:1px solid var(--border-color);background:var(--suggestion-bg);color:var(--fg);border-radius:16px;cursor:pointer;transition:background .2s ease,color .2s ease,border-color .2s ease,transform .12s ease;white-space:nowrap}.chip-sm{font-size:.8rem;line-height:1;padding:6px 10px}.chip:hover{background:var(--suggestion-hover);color:var(--accent);border-color:var(--accent)}.chip:active{transform:translateY(1px)}.chip-accent{border-color:#3a2f5d;background:#1e1630;color:#cbbcf6}@media (max-width:480px){.chip-sm{font-size:.78rem;padding:6px 9px}}.prompt-input.hidden{opacity:0;pointer-events:none;height:0;padding:0;margin:0;border:none;overflow:hidden;transition:opacity .3s ease}.prompt-input.visible{opacity:1;height:auto;pointer-events:auto;transition:opacity .3s ease}.form-toggle-btn{background:none;border:none;color:var(--accent);cursor:pointer;font-size:.95rem;text-decoration:underline;margin-top:10px;transition:color .2s}.form-toggle-btn:hover{color:#b89bff}.chat-window::-webkit-scrollbar{width:6px}.chat-window::-webkit-scrollbar-thumb{background:#333;border-radius:4px}.chat-window::-webkit-scrollbar-track{background:transparent}.typing-indicator{display:flex;gap:6px;padding:12px 16px;border-radius:12px;background-color:#1d1d2a;color:#d0d0ff;border:1px solid #444;border-left:4px solid var(--accent);align-self:flex-start;min-width:60px}.typing-indicator .dot{width:8px;height:8px;background-color:var(--accent);border-radius:50%;animation:typing 1.2s ease-in-out infinite}.typing-indicator .dot:nth-child(2){animation-delay:.2s}.typing-indicator .dot:nth-child(3){animation-delay:.4s}@keyframes typing{0%,60%,to{transform:translateY(0);opacity:.3}30%{transform:translateY(-6px);opacity:1}}.templates-container{width:100%;margin-top:16px;padding:12px;background:var(--input-bg);border-radius:8px;border:1px solid var(--border-color)}.templates-title{margin:0 0 8px;font-size:.9rem;color:#aaa}.template-links{display:flex;flex-wrap:wrap;gap:8px}.template-link{padding:6px 12px;background:var(--suggestion-bg);color:var(--fg);border-radius:20px;font-size:.85rem;text-decoration:none;transition:all .2s ease;border:1px solid var(--border-color)}.template-link:hover{background:var(--suggestion-hover);color:var(--accent);border-color:var(--accent)}@media (max-width:980px){.genie-creation-wrap{grid-template-columns:1fr;padding:20px 14px}.genie-right{display:none}.genie-creation-wrap.is-ready .genie-right{display:block}.genie-left{padding:18px}.genie-steps{max-height:none;overflow:visible;margin-top:14px}.genie-title{font-size:20px}.genie-subtitle{font-size:14px}.progress-bar{height:10px}.progress-metric{font-size:12px}.step-card{grid-template-columns:22px 1fr;padding:10px}}@media (max-width:560px){.genie-title{font-size:18px}.step-text .step-label{font-size:14px}.step-text .step-desc{font-size:12px}}@media (max-width:980px){.panel{min-height:420px}.panel-body{min-height:0;max-height:none}.site-iframe{height:58vh;min-height:320px}}.mobile-final-link{display:none}@media (max-width:980px){.genie-creation-wrap.is-ready .mobile-final-link{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:12px;padding:10px 12px;background:#071125;border:1px solid #152243;border-radius:12px}.mobile-final-link .url{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#93c5fd;font-size:13px;max-width:70%}.mobile-final-link .btn{padding:8px 12px;background:linear-gradient(90deg,#10b981,#059669);color:#fff;border-radius:10px;font-weight:700;text-decoration:none;flex:0 0 auto}}.genie-creation-wrap{display:grid;grid-template-columns:minmax(320px,460px) 1fr;grid-gap:24px;gap:24px;padding:32px 20px;background:radial-gradient(1000px 500px at 10% -10%,#1b2452 0,#0f172a 40%,#0b1220 100%);min-height:100vh}@media (max-width:980px){.genie-creation-wrap{grid-template-columns:1fr;padding:20px 14px}}.genie-left{background:rgba(15,23,42,.7);border:1px solid #1f2a44;border-radius:16px;padding:24px;color:#f1f5f9;-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);box-shadow:0 10px 40px rgba(0,0,0,.25)}.genie-title{font-size:22px;font-weight:800;letter-spacing:.2px;margin:0 0 6px;color:#fff}.sparkle{color:#7c3aed}.genie-subtitle{color:#94a3b8;margin:0 0 16px}.progress-bar{position:relative;height:8px;background:#111827;border-radius:999px;overflow:hidden;border:1px solid #1f2937}.progress-fill{height:100%;background:linear-gradient(90deg,#7c3aed,#06b6d4,#10b981);width:0;transition:width .6s ease}.progress-metric{text-align:right;color:#cbd5e1;font-size:12px;margin-top:6px}.genie-steps{display:flex;flex-direction:column;gap:10px;margin-top:18px;max-height:calc(100vh - 240px);overflow:auto;padding-right:4px}.step-card{display:grid;grid-template-columns:26px 1fr;grid-gap:12px;gap:12px;align-items:flex-start;padding:12px;background:linear-gradient(180deg,#0e162b,#0c1222);border:1px solid #1f2a44;border-radius:12px;transition:transform .2s ease,border-color .2s ease,background .2s ease;opacity:.85}.step-card:hover{transform:translateY(-1px);border-color:#2c3b61;opacity:1}.step-card.done{background:linear-gradient(180deg,#0d1a2f,#0c1a2c);border-color:rgba(16,185,129,.35);opacity:1}.step-icon{display:flex;align-items:center;justify-content:center;color:#10b981;margin-top:2px}.step-icon .dot{width:10px;height:10px;border-radius:50%;background:#7c3aed;box-shadow:0 0 0 0 rgba(124,58,237,.7);animation:pulse 1.8s infinite}@keyframes pulse{0%{box-shadow:0 0 0 0 rgba(124,58,237,.7)}70%{box-shadow:0 0 0 12px rgba(124,58,237,0)}to{box-shadow:0 0 0 0 rgba(124,58,237,0)}}.step-text .step-label{font-weight:700;color:#e5e7eb;line-height:1.2}.step-text .step-desc{font-size:13px;color:#94a3b8}.genie-right{display:flex;flex-direction:column;gap:12px}.panel{background:#060b18;border:1px solid #18223a;border-radius:16px;overflow:hidden;min-height:520px;box-shadow:0 10px 40px rgba(0,0,0,.35)}.panel-header{display:flex;align-items:center;justify-content:space-between;padding:12px 14px;border-bottom:1px solid #1b2743;background:linear-gradient(180deg,#0b1222,#091021)}.tabs{display:flex;gap:8px}.tab{display:inline-flex;align-items:center;gap:8px;font-weight:600;font-size:13px;padding:8px 12px;border-radius:10px;background:#0a1122;color:#cbd5e1;border:1px solid #152243;cursor:pointer;transition:all .2s ease}.tab:hover{border-color:#22407a;color:#e5e7eb}.tab.active{background:#101b36;border-color:#2b4e95;color:#fff}.tab-dot.typing{width:6px;height:6px;border-radius:50%;background:#7c3aed;box-shadow:0 0 10px #7c3aed}.open-link{display:inline-flex;align-items:center;gap:6px;color:#93c5fd;text-decoration:none;font-weight:600;padding:6px 10px;border:1px solid #1e3a8a;border-radius:10px;transition:all .2s ease}.open-link:hover{color:#bfdbfe;border-color:#325bbf}.panel-body{display:grid;grid-template-rows:auto 1fr;min-height:480px;max-height:calc(100vh - 220px)}.code-area{padding:12px}.code-title{font-size:12px;color:#9aa9c4;margin:0 0 6px 4px}.code-block{border:1px solid #152243;border-radius:12px;padding:12px 14px;color:#e5e7eb;max-height:calc(100vh - 300px);line-height:1.5;font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,monospace;position:relative}.code-block,.terminal{background:#071125;overflow:auto}.terminal{padding:14px;border-top:1px solid #152243;color:#cbd5e1;font-family:ui-monospace,Menlo,Consolas,monospace;max-height:calc(100vh - 260px)}.terminal-line{margin:6px 2px}.terminal-line.success{color:#10b981}.terminal-line.fade{color:#8aa0c7}.preview-area{padding:10px;background:#060b18;height:100%}.site-iframe{width:100%;height:calc(100vh - 280px);min-height:360px;border:1px solid #152243;border-radius:12px;background:#0b1327}.preview-tip{color:#9fb4df;font-size:12px;margin-top:8px}.placeholder{padding:12px}.skeleton-banner{height:140px;border-radius:12px;border:1px solid #142246}.skeleton-banner,.skeleton-text{background:linear-gradient(90deg,#0b1429,#0e1932,#0b1429);animation:shimmer 1.6s infinite}.skeleton-text{height:12px;margin-top:12px;border-radius:8px;border:1px solid #142246}.skeleton-text.short{width:50%}.skeleton-row{display:flex;gap:10px;margin-top:12px}.skeleton-card{flex:1 1;height:100px;border-radius:12px;background:linear-gradient(90deg,#0b1429,#0e1932,#0b1429);animation:shimmer 1.6s infinite;border:1px solid #142246}.placeholder-note{color:#9fb4df;font-size:12px;margin-top:10px}@keyframes shimmer{0%{background-position:-40% 0}to{background-position:140% 0}}.build-note{display:inline-flex;align-items:center;gap:8px;color:#a3bffa;font-size:13px;padding-left:4px}.pulse-dot{width:8px;height:8px;border-radius:50%;background:#38bdf8;box-shadow:0 0 0 0 rgba(56,189,248,.7);animation:pulse 1.8s infinite}.code-block::-webkit-scrollbar,.genie-steps::-webkit-scrollbar,.terminal::-webkit-scrollbar{width:8px;height:8px}.code-block::-webkit-scrollbar-thumb,.genie-steps::-webkit-scrollbar-thumb,.terminal::-webkit-scrollbar-thumb{background:#1b2b4f;border-radius:10px}@media (max-width:980px){.genie-creation-wrap{grid-template-columns:1fr!important;padding:18px 14px!important;gap:14px!important}.genie-right{display:none!important}.genie-creation-wrap.is-ready .genie-right{display:flex!important;flex-direction:column;gap:12px}.genie-left{padding:16px!important}.genie-title{font-size:20px!important;line-height:1.2}.genie-subtitle{font-size:14px!important;line-height:1.35;white-space:normal;word-break:break-word;overflow-wrap:anywhere}.progress-bar{height:8px!important}.progress-metric{font-size:12px!important;margin-top:6px!important;white-space:normal!important;overflow:visible!important;word-break:break-word;overflow-wrap:anywhere;text-align:left!important}.genie-steps{max-height:none!important;overflow:visible!important;margin-top:12px!important;padding-right:0!important;gap:8px!important}.step-card{grid-template-columns:22px 1fr!important;padding:10px!important;gap:8px!important}.step-text{min-width:0}.step-text .step-label{font-size:13px!important}.step-text .step-desc,.step-text .step-label{line-height:1.25;white-space:normal!important;word-break:break-word;overflow-wrap:anywhere}.step-text .step-desc{font-size:12px!important;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.panel{min-height:420px!important}.panel-header{flex-wrap:wrap;row-gap:8px;padding:10px 12px!important}.tabs{flex-wrap:wrap!important;gap:6px!important}.tab{font-size:12px!important;padding:6px 8px!important;line-height:1.2;white-space:nowrap}.open-link{flex:1 1 100%;justify-content:space-between;min-width:0;white-space:normal;word-break:break-word;overflow-wrap:anywhere}.panel-body{min-height:0!important;max-height:none!important;grid-template-rows:auto 1fr}.code-area{padding:10px!important}.code-title{font-size:11px!important}.code-block{max-height:44vh!important;font-size:12px}.code-block,.terminal{word-break:break-word;overflow-wrap:anywhere}.terminal{max-height:40vh!important;font-size:12px!important;line-height:1.3!important}.site-iframe{height:58vh!important;min-height:300px!important}}@media (max-width:560px){.genie-title{font-size:18px!important}.step-text .step-label{font-size:12.5px!important}.step-text .step-desc,.tab{font-size:11.5px!important}.tab{padding:6px 7px!important}.progress-metric{font-size:11.5px!important}}@media (max-width:360px){.progress-metric,.tab{font-size:11px!important}.site-iframe{min-height:260px!important}}.logo-current{background:#071125;border:1px solid #152243;border-radius:12px;padding:12px;display:grid;place-items:center;min-height:220px}.logo-current-img{max-width:100%;max-height:240px;border-radius:12px;border:1px solid #1b2b4f;background:#0b1327}.logo-skeleton .skeleton-box{width:100%;height:160px;border-radius:12px;border:1px solid #142246}.logo-skeleton .skeleton-box,.logo-skeleton .skeleton-line{background:linear-gradient(90deg,#0b1429,#0e1932,#0b1429);animation:shimmer 1.6s infinite}.logo-skeleton .skeleton-line{height:12px;margin-top:12px;border-radius:8px;border:1px solid #142246}.logo-skeleton .skeleton-line.short{width:50%}.logo-preview-area{display:grid;grid-gap:12px;gap:12px;grid-auto-rows:min-content;height:100%}.logo-variants-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(110px,1fr));grid-gap:10px;gap:10px;align-items:stretch}.logo-thumb{border:1px solid #152243;border-radius:12px;background:#071125;padding:8px;cursor:pointer;transition:transform .2s ease,box-shadow .2s ease,border-color .2s ease}.logo-thumb:hover{transform:translateY(-2px);border-color:#22407a}.logo-thumb.selected{border-color:#6a5acd;box-shadow:0 0 0 2px rgba(106,90,205,.35)}.logo-thumb img{width:100%;height:100%;object-fit:contain;display:block}.logo-actions .btn-primary{display:inline-flex;align-items:center;gap:8px;background:linear-gradient(90deg,#6a5acd,#836fff);border:1px solid #2b4e95;padding:8px 12px;border-radius:10px;color:#fff;font-weight:700;cursor:pointer}.logo-actions .btn-primary:hover{transform:translateY(-1px)}.format-actions{display:flex;align-items:center;justify-content:space-between;gap:12px;background:#071125;border:1px solid #152243;border-radius:12px;padding:10px 12px}.format-actions .format-note{color:#9fb4df;font-size:12px}.format-actions .format-buttons{display:flex;gap:8px}.format-actions .format-buttons button{padding:8px 12px;border-radius:10px;border:1px solid #152243;background:#0a1122;color:#cbd5e1;font-weight:600;cursor:pointer;transition:border-color .2s ease,color .2s ease,transform .2s ease}.format-actions .format-buttons button:hover{border-color:#22407a;color:#fff;transform:translateY(-1px)}@media (max-width:980px){.logo-current-img{max-height:200px}.logo-variants-grid{grid-template-columns:repeat(auto-fill,minmax(90px,1fr))}.genie-creation-wrap{display:grid;grid-template-columns:1fr!important;grid-gap:12px;gap:12px}.genie-left,.genie-right{padding:12px!important}.progress-metric{font-size:12px!important;line-height:1.25;margin-top:6px;white-space:normal!important;overflow:visible!important;word-break:break-word;overflow-wrap:anywhere}.progress-bar{height:8px!important;border-radius:999px}.genie-steps .step-card{padding:8px 10px!important;gap:8px!important}.genie-steps .step-text{min-width:0}.genie-steps .step-label{font-size:13px!important}.genie-steps .step-desc,.genie-steps .step-label{line-height:1.2;white-space:normal;word-break:break-word;overflow-wrap:anywhere}.genie-steps .step-desc{font-size:12px!important;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.logo-current{min-height:160px!important;padding:8px!important}.logo-current-img{max-height:150px!important;width:100%;height:auto;object-fit:contain}.logo-variants-grid{grid-template-columns:repeat(auto-fill,minmax(90px,1fr))!important;gap:8px!important}.logo-thumb{padding:6px!important}.panel-header .tabs{flex-wrap:wrap!important;gap:6px!important}.tabs .tab{font-size:12px!important;padding:6px 8px!important}.logo-actions .btn-primary{padding:6px 10px!important;font-size:12px!important}.format-actions{flex-direction:column!important;align-items:stretch!important;gap:8px!important}.format-actions .format-note{font-size:12px!important}.format-actions .format-buttons{flex-wrap:wrap!important;justify-content:space-between;gap:8px!important}.format-actions .format-buttons button{flex-grow:1;flex-shrink:1;flex-basis:calc(50% - 8px);min-width:120px}.terminal{font-size:12px!important;line-height:1.3!important;max-height:40vh;overflow:auto}}@media (max-width:360px){.progress-metric{font-size:11px!important}.genie-steps .step-label{font-size:12px!important}.genie-steps .step-desc{font-size:11px!important}.logo-current-img{max-height:130px!important}}