:root{color-scheme:dark;--bg:#19132d;--panel:#251e3c;--well:#171126;--line:#4b405d;--ink:#faf5ed;--muted:#beb2ce;--orange:#ff996c;--lime:#d9ff7b;--purple:#bd9dff;font-family:Inter,ui-sans-serif,system-ui,-apple-system,sans-serif;color:var(--ink);background:var(--bg)}*{box-sizing:border-box}body{margin:0}button,input,textarea,select{font:inherit}button,a,input,textarea,select{touch-action:manipulation}a{color:var(--lime);text-underline-offset:4px}button{border:1px solid transparent;border-radius:10px;background:var(--purple);color:var(--well);padding:12px 17px;cursor:pointer;font-weight:750}button:disabled{opacity:.45;cursor:not-allowed}button:hover:enabled{filter:brightness(1.09)}button.primary{background:var(--lime);color:#202722}button.quiet{border-color:var(--line);color:var(--ink);background:transparent}button.small{padding:8px 11px;font-size:12px}.topbar{display:flex;gap:20px;align-items:center;justify-content:space-between;flex-wrap:wrap;padding:22px 4vw;border-bottom:1px solid var(--line)}.brand{display:flex;align-items:center;gap:9px;font-size:20px;font-weight:850;text-decoration:none;color:var(--ink);letter-spacing:-.6px}.brand span{color:var(--muted);font-weight:450;font-size:15px;letter-spacing:0}nav{display:flex;gap:20px;align-items:center;flex-wrap:wrap}nav a{font-size:13px;color:var(--muted)}main{max-width:1660px;margin:auto;padding:42px 4vw 0}.intro{display:grid;grid-template-columns:1fr 300px;gap:70px;align-items:center;margin-bottom:32px}.eyebrow{color:var(--orange);font:650 11px/1.5 ui-monospace,monospace;letter-spacing:1.8px;margin:0 0 16px}h1{font-size:clamp(38px,4.2vw,68px);line-height:1.07;letter-spacing:-3px;margin:0 0 22px;font-weight:850}h1 em{font-style:normal;color:var(--purple)}.intro>div>p:last-child{font-size:17px;line-height:1.65;color:var(--muted);max-width:640px;margin-bottom:0}.price{border:1px solid #675777;background:linear-gradient(140deg,#35294b,var(--panel));padding:25px;border-radius:18px;transform:rotate(1deg);box-shadow:5px 6px 0 #100c1d}.chip{font:650 9px/1 ui-monospace,monospace;color:var(--orange);letter-spacing:.7px}.price strong{display:block;font-size:54px;letter-spacing:-3px;margin:13px 0 3px}.price small{font-size:22px;letter-spacing:0}.price p{font-size:14px;line-height:1.5}.price>span:last-child{font-size:11px;color:var(--muted);line-height:1.6}.notice{padding:13px 17px;border:1px solid var(--line);border-radius:10px;font-size:13px;color:var(--muted)}.notice.live{border-color:#687f3d;color:var(--lime)}.status{font-size:14px;min-height:22px;margin:15px 0 22px;color:var(--muted);overflow-wrap:anywhere}.status.error{color:#ffb098}.workspace{display:grid;grid-template-columns:210px minmax(0,1fr);border:1px solid var(--line);border-radius:16px;overflow:hidden;background:var(--panel);min-height:680px}.project-rail{border-right:1px solid var(--line);background:#211a35;padding:20px 14px}.rail-heading{display:flex;align-items:center;justify-content:space-between;gap:6px}h2{font-size:25px;letter-spacing:-.7px;margin:0 0 18px}.rail-heading h2{font-size:15px;margin:0}.project-list{display:grid;gap:9px;margin-top:22px}.project-list button{text-align:left;color:var(--ink);background:transparent;overflow-wrap:anywhere;font-size:13px;padding:13px 10px;border:1px solid var(--line)}.project-list button.active{border-color:var(--purple);background:#3c2f53}.project-list button span{display:block;color:var(--muted);font-size:10px;margin-top:6px;font-weight:450}.rail-note{font-size:11px;line-height:1.7;color:var(--muted);margin-top:30px}.brief-pane{padding:35px;max-width:920px}.muted{color:var(--muted);line-height:1.65;font-size:14px}.brief-pane form{display:grid;gap:20px;margin-top:25px}label{display:grid;gap:9px;color:var(--muted);font-size:12px;font-weight:650}input:not([type=checkbox]):not([type=range]),textarea,select{width:100%;border:1px solid var(--line);border-radius:9px;background:var(--well);color:var(--ink);padding:12px;font-size:14px;line-height:1.6;min-width:0}textarea{resize:vertical}textarea::placeholder,input::placeholder{color:#968aa7}#brief{font-family:inherit}.brief-help{display:flex;justify-content:space-between;align-items:center;margin-top:-10px}.brief-help span{font:11px ui-monospace,monospace;color:var(--muted)}fieldset{border:0;padding:0;margin:0}legend{font-size:12px;color:var(--muted);font-weight:650;margin-bottom:12px}.checks{display:flex;gap:15px;flex-wrap:wrap}.checks label,.tick{display:flex;gap:9px;align-items:center;font-size:12px;font-weight:450}input[type=checkbox]{accent-color:var(--lime);width:17px;height:17px;flex-shrink:0}.fine{font-size:11px;color:var(--muted);line-height:1.7}.project-pane{padding:24px;min-width:0}.project-heading{display:flex;justify-content:space-between;gap:20px;align-items:center}.project-heading h2{margin-bottom:0;overflow-wrap:anywhere}.project-heading .eyebrow{font-size:9px;margin-bottom:8px}.credit-count{text-align:right;flex-shrink:0}.credit-count strong{display:block;color:var(--lime);font:650 24px ui-monospace,monospace}.credit-count span{font-size:10px;color:var(--muted)}.project-actions{display:flex;gap:8px;flex-wrap:wrap;margin:20px 0}.project-actions button{font-size:12px}.build-columns{display:grid;grid-template-columns:minmax(260px,.8fr) minmax(350px,1.2fr);gap:24px}.conversation,.play-area{min-width:0}.build-log{height:280px;overflow:auto;display:flex;flex-direction:column;gap:14px;padding:14px;background:var(--well);border:1px solid var(--line);border-radius:10px;margin-bottom:18px}.log-entry{font-size:12px;line-height:1.7;white-space:pre-wrap;overflow-wrap:anywhere;border-left:2px solid var(--purple);padding-left:12px}.log-entry.request{border-color:var(--orange)}.log-entry small{display:block;color:var(--muted);font-size:10px}.prompt-bottom{display:flex;justify-content:space-between;gap:10px;align-items:center;margin-top:12px}#promptForm textarea{margin-top:9px;font-size:13px}.prompt-bottom button{font-size:12px;flex-shrink:0}.preview-toolbar{display:flex;justify-content:space-between;gap:10px;align-items:center;margin-bottom:12px}.preview-toolbar h3{font-size:12px;margin:0}.preview-toolbar>div{display:flex;gap:6px}.preview-screen{position:relative;aspect-ratio:16/10;background:#110d20;border:1px solid var(--line);border-radius:10px;overflow:hidden;isolation:isolate}.preview-screen:fullscreen{aspect-ratio:auto;width:100%;height:100%;border:0;border-radius:0}.preview-screen iframe{position:absolute;inset:0;width:100%;height:100%;border:0;color-scheme:normal}#previewEmpty{display:flex;align-items:center;justify-content:center;text-align:center;flex-direction:column;height:100%;padding:20px;background:radial-gradient(ellipse at center,#302244,#110d20 72%)}.pixel-star{font-size:65px;color:var(--orange);text-shadow:5px 4px 0 #674753}#previewEmpty h3{font-size:18px;margin:10px 0}#previewEmpty p{color:var(--muted);font-size:12px;max-width:30ch;line-height:1.6}details{border:1px solid var(--line);border-radius:10px;padding:12px;margin-top:13px;font-size:12px}summary{cursor:pointer;color:var(--muted);font-weight:650}details[open]>summary{margin-bottom:16px}.sliders{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin:15px 0}input[type=range]{width:100%;accent-color:var(--purple)}.editor-toolbar{display:flex;gap:8px;align-items:end;margin:12px 0}.editor-toolbar label{flex:1}.editor-toolbar select{font-size:12px;padding:7px}#code{font:12px/1.6 ui-monospace,monospace;tab-size:2;white-space:pre;overflow:auto}.revisions{max-height:200px;overflow:auto;display:grid;gap:8px}.revision{display:flex;gap:10px;align-items:center;justify-content:space-between;font-size:11px;padding:9px;background:var(--well);border-radius:6px}.revision span{min-width:0;overflow-wrap:anywhere}.publish-pane{margin-top:26px;border-top:1px solid var(--line);padding-top:25px}.publish-pane form{display:grid;gap:17px;max-width:650px}.two-fields{display:grid;grid-template-columns:1fr 1fr;gap:15px}#paymentRecovery label{margin:12px 0}footer{padding:28px 0 35px;color:var(--muted);font-size:12px}footer a{color:var(--muted)}dialog{color:var(--ink);background:var(--panel);border:1px solid var(--line);border-radius:18px;padding:30px;max-width:520px;width:calc(100% - 40px)}dialog::backdrop{background:#0e0819c9;backdrop-filter:blur(5px)}dialog p{font-size:14px;line-height:1.7}.dialog-actions{display:flex;justify-content:flex-end;gap:12px;margin-top:25px}:focus-visible{outline:3px solid var(--orange);outline-offset:3px}[hidden]{display:none!important}.skip{position:absolute;left:15px;top:-80px;padding:12px;background:var(--lime);color:var(--well);z-index:10}.skip:focus{top:10px}.sr-only{position:absolute;clip-path:inset(50%);width:1px;height:1px;overflow:hidden}@media(min-width:1500px){.build-log{height:360px}}@media(max-width:1100px){.build-columns{grid-template-columns:1fr}.build-log{height:200px}.workspace{grid-template-columns:180px 1fr}.intro{gap:30px}.preview-screen{aspect-ratio:16/10}}@media(max-width:700px){main{padding-top:28px}.topbar{padding:18px 4vw}.brand span{font-size:12px}nav{gap:14px}nav button{font-size:12px;padding:9px}.intro{grid-template-columns:1fr;gap:23px}.intro h1{letter-spacing:-1.8px}.price{transform:none;display:block;max-width:100%;padding:20px}.price strong{font-size:42px;margin:12px 0}.workspace{grid-template-columns:1fr}.project-rail{border-right:0;border-bottom:1px solid var(--line);padding:15px}.project-list{display:flex;overflow-x:auto;margin-top:14px}.project-list button{min-width:150px}.rail-note{display:none}.brief-pane,.project-pane{padding:20px}.project-heading{align-items:start}.credit-count strong{font-size:18px}.credit-count span{font-size:9px}.two-fields{grid-template-columns:1fr}.preview-toolbar{flex-wrap:wrap}.editor-toolbar{flex-wrap:wrap}.brief-help{align-items:start;gap:10px}.price p{margin:10px 0}.build-columns{gap:16px}}

#runtimeErrors{font:11px/1.6 ui-monospace,monospace;white-space:pre-wrap;overflow-wrap:anywhere;max-height:180px;overflow:auto;color:#ffb098}
