:root{--paper:#f4f4f1;--panel:#fff;--ink:#111318;--muted:#73777f;--line:#d9dadd;--soft:#ececea;--accent:#3f5cff;--radius:14px;font-family:Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:var(--ink);background:var(--paper)}*{box-sizing:border-box}html,body{width:100%;height:100%;margin:0;overflow:hidden}button,input,select{font:inherit;color:inherit}.ascii-shell{height:100vh;display:grid;grid-template-rows:64px minmax(0,1fr)}.topbar{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:24px;padding:0 18px 0 72px;background:#fff;border-bottom:1px solid var(--line)}.brand{display:flex;align-items:center;gap:10px;color:inherit;text-decoration:none;font-size:12px;font-weight:850;letter-spacing:.1em}.brand i{width:15px;height:15px;border:2px solid #111;transform:rotate(45deg)}.brand small{color:var(--muted);font:700 8px monospace;padding-left:10px;border-left:1px solid var(--line)}.topbar nav{display:flex;justify-content:center;gap:3px}.topbar nav a{color:var(--muted);text-decoration:none;font-size:10px;font-weight:700;padding:8px 10px;border-radius:8px}.topbar nav a:hover,.topbar nav a.active{background:var(--soft);color:var(--ink)}.actions{display:flex;align-items:center;gap:7px}.button,.actions select{border:1px solid var(--line);border-radius:9px;background:#fff;padding:9px 12px;font-size:10px;font-weight:750;cursor:pointer}.button.primary{background:#111;color:#fff;border-color:#111}.workspace{min-height:0;display:grid;grid-template-columns:268px minmax(420px,1fr) 300px}.preset-panel,.inspector{min-height:0;background:var(--panel)}.preset-panel{border-right:1px solid var(--line);display:grid;grid-template-rows:auto auto minmax(0,1fr)}.panel-heading,.inspector-head{padding:21px 18px 17px;border-bottom:1px solid var(--line)}.panel-heading>span,.inspector-head>span,.section-title>span{font:750 8px monospace;letter-spacing:.14em;color:#6a6f78}.panel-heading h1{font-size:27px;line-height:.95;letter-spacing:-.055em;margin:10px 0}.panel-heading p,.inspector-head p{font-size:10px;line-height:1.45;color:var(--muted);margin:0}.mode-tabs{display:grid;grid-template-columns:1fr 1fr;padding:10px;gap:5px;border-bottom:1px solid var(--line)}.mode-tabs button{border:1px solid transparent;background:transparent;color:var(--muted);border-radius:8px;padding:8px 5px;font-size:9px;font-weight:750;cursor:pointer}.mode-tabs button.active{background:#15171b;color:#fff}.preset-grid{overflow:auto;padding:11px;display:grid;grid-template-columns:1fr 1fr;align-content:start;gap:8px}.preset-card{min-height:112px;border:1px solid #0001;border-radius:11px;padding:9px;display:flex;flex-direction:column;justify-content:space-between;text-align:left;cursor:pointer;color:#fff;overflow:hidden;position:relative}.preset-card:before{content:"A0\A ▓░";white-space:pre;position:absolute;right:7px;top:7px;font:800 21px/.8 monospace;opacity:.32}.preset-card span{font:700 7px monospace;letter-spacing:.12em;opacity:.75}.preset-card b{font-size:11px;position:relative}.preset-card.active{outline:3px solid #111;outline-offset:2px}.look-0,.look-8{background:linear-gradient(145deg,#092719,#2bbf68)}.look-1,.look-11{background:linear-gradient(145deg,#020604,#00a94f)}.look-2{background:linear-gradient(145deg,#541cff,#ff3f96 55%,#ffb32c)}.look-3,.look-13{background:linear-gradient(145deg,#191b21,#727782)}.look-4{background:linear-gradient(145deg,#412000,#ff8b19)}.look-5,.look-10{background:linear-gradient(145deg,#fff4d8,#8f7a54);color:#17130e}.look-6,.look-9{background:linear-gradient(145deg,#2c0b4f,#ec2f91 55%,#33e9ff)}.look-7{background:linear-gradient(145deg,#2b0700,#f13b18 50%,#ffdc54)}.look-12{background:linear-gradient(145deg,#061a31,#54ccff)}.stage{position:relative;min-width:0;min-height:0;background:#e8e8e5;display:grid;grid-template-rows:46px minmax(0,1fr) 44px;overflow:hidden}.stage:before{content:"";position:absolute;inset:46px 0 44px;background-image:linear-gradient(#00000009 1px,transparent 1px),linear-gradient(90deg,#00000009 1px,transparent 1px);background-size:24px 24px;pointer-events:none}.stage-toolbar,.transport{position:relative;z-index:2;display:flex;align-items:center;justify-content:space-between;padding:0 12px;background:#fafaf8;border-bottom:1px solid var(--line)}.stage-toolbar>div{display:flex;align-items:center;gap:5px}.stage-toolbar span{font:700 8px monospace;color:#6e737a}.chip{border:1px solid transparent;background:transparent;color:#747880;border-radius:7px;padding:7px 9px;font-size:9px;font-weight:750;cursor:pointer}.chip.active,.chip:hover{background:#e7e7e3;color:#111}.empty-state{z-index:1;place-self:center;text-align:center;max-width:520px;padding:28px}.glyph-cloud{width:78px;height:78px;margin:0 auto 24px;border-radius:20px;background:linear-gradient(145deg,#5b2cff,#ff3d82 55%,#ffca44);color:#fff;display:grid;place-items:center;font:850 24px/.86 monospace;transform:rotate(-5deg);box-shadow:0 22px 45px #702bff35}.empty-state>span{font:700 8px monospace;letter-spacing:.15em;color:#777b82}.empty-state h2{font-size:clamp(45px,5.3vw,83px);line-height:.86;letter-spacing:-.075em;margin:17px 0}.empty-state p{color:var(--muted);font-size:12px;margin:0 auto 22px}.canvas-wrap{z-index:1;min-height:0;padding:22px;display:grid;place-items:center;overflow:auto}.canvas-wrap canvas{background:#090b0e;box-shadow:0 20px 55px #0003;max-width:100%;max-height:100%}.canvas-wrap video{position:absolute;width:2px;height:2px;opacity:.001}.transport{border-top:1px solid var(--line);border-bottom:0;justify-content:flex-start;gap:9px}.transport button{border:0;background:#111;color:#fff;width:25px;height:25px;border-radius:50%;font-size:9px}.transport span{font:700 8px monospace;color:#696d74}.transport input{flex:1;accent-color:#111}.drop-overlay{position:absolute;z-index:5;inset:58px 14px 57px;border:2px dashed #5056ff;background:#f4f4f1ed;display:grid;place-items:center;font-size:26px;font-weight:800}.hidden{display:none!important}.inspector{border-left:1px solid var(--line);display:grid;grid-template-rows:auto auto minmax(0,1fr) 38px}.inspector-head h2{font-size:26px;letter-spacing:-.045em;margin:8px 0 6px}.layers-section{padding:13px 15px;border-bottom:1px solid var(--line)}.section-title{display:flex;align-items:center;justify-content:space-between;margin-bottom:8px}.section-title button{border:0;background:transparent;font-size:9px;font-weight:800;cursor:pointer}.layer-list{display:grid;gap:5px}.layer-item{display:grid;grid-template-columns:20px 1fr auto;align-items:center;gap:7px;border:1px solid var(--line);background:#fafaf8;border-radius:8px;padding:8px}.layer-item.active{border-color:#111}.layer-swatch{width:14px;height:14px;border-radius:4px;background:linear-gradient(135deg,#5b2cff,#ff3d82)}.layer-item button{border:0;background:transparent;font-size:9px;cursor:pointer}.layer-item strong{font-size:9px}.controls{overflow-y:auto;padding:0 16px 22px}.controls section{padding:14px 0;border-bottom:1px solid var(--soft)}.controls h3{font:800 8px monospace;letter-spacing:.12em;margin:0 0 13px}.controls label{display:grid;gap:7px;margin:11px 0;color:#60656d;font-size:9px;font-weight:700}.controls input[type=text],.controls select{width:100%;border:1px solid var(--line);background:#fafaf8;border-radius:8px;padding:8px;font-size:10px}.range-label>span{display:flex;justify-content:space-between}.range-label output{font:700 9px monospace;color:#222}.controls input[type=range]{width:100%;accent-color:#111}.toggle{grid-template-columns:1fr auto!important;align-items:center}.toggle input{accent-color:#111}.inspector footer{display:flex;align-items:center;justify-content:space-between;padding:0 14px;border-top:1px solid var(--line);font:700 7px monospace;color:#858990}.inspector footer b{color:#111}@media(max-width:1120px){.workspace{grid-template-columns:228px minmax(360px,1fr) 270px}.topbar{padding-left:18px}.brand small{display:none}}@media(max-width:850px){html,body{overflow:auto}.ascii-shell{height:auto;min-height:100vh}.topbar{grid-template-columns:1fr auto}.topbar nav{display:none}.actions select{display:none}.workspace{grid-template-columns:1fr;grid-template-rows:auto 68vh auto}.preset-panel{grid-template-rows:auto auto auto}.preset-grid{grid-template-columns:repeat(4,minmax(130px,1fr));overflow:auto}.inspector{grid-template-rows:auto auto auto 38px}.controls{overflow:visible}.stage{min-height:620px}}
