<!-- RUBY-BACKUP · part 553 -->
ssText = 'position:fixed;bottom:140px;right:14px;z-index:10000;width:56px;height:56px;background:#0a0a0a;color:#cc0000;border:2px solid #cc0000;border-radius:12px;font-size:28px;line-height:1;padding:0;cursor:pointer;-webkit-tap-highlight-color:transparent;box-shadow:0 0 15px rgba(204,0,0,0.5);';
      btn.onclick = function(){
        try{
          if(typeof window._creator!=='undefined') window._creator.toggle();
        }catch(e){}
      };
      document.body.appendChild(btn);
    }
    if(typeof codeStatus==='function') codeStatus('creator block stands');
  }catch(e){ if(typeof codeStatus==='function') codeStatus('creator block failed'); }
}
/* THE CREATOR (V-0.13) — Playa 2.0's exact design */
(function(){
  var OPEN = false;
  var el = null;
  var CSS = `
    #creator{position:fixed;top:0;left:0;width:100%;height:100%;background:#0a0a0a;z-index:30000;font-family:-apple-system,sans-serif;color:#e8dcc0;overflow:hidden;}
    #creator .topbar{text-align:center;padding:12px;font-size:20px;letter-spacing:2px;color:#fff;font-weight:600;}
    #creator .leftbar{position:absolute;left:10px;top:60px;width:110px;display:flex;flex-direction:column;gap:8px;}
    #creator .tool{background:#1a1a1a;border:1px solid #3a3a3a;border-radius:10px;padding:10px 6px;text-align:center;font-size:10px;color:#e8dcc0;cursor:pointer;}
    #creator .tool:active{background:#2a2a2a;}
    #creator .tool .icon{font-size:28px;margin-bottom:4px;}
    #creator .meta{position:absolute;top:60px;left:130px;right:170px;background:#1a1a1a;border:1px solid #3a3a3a;border-radius:10px;padding:12px;font-size:12px;}
    #creator .meta .row{margin:4px 0;color:#aaa;}
    #creator .meta .row b{color:#fff;}
    #creator .rightbar{position:absolute;right:10px;top:60px;width:150px;display:flex;flex-direction:column;gap:8px;}
    #creator .rpanel{background:#1a1a1a;border:1px solid #3a3a3a;border-radius:10px;padding:10px;font-size:10px;color:#e8dcc0;}
    #creator .rpanel .h{font-size:11px;font-weight:bold;margin-bottom:6px;color:#ffd700;}
    #creator .ctools{display:grid;grid-template-columns:repeat(3,1fr);gap:6px;}
    #creator .ctool{background:#222;border:1px solid #444;border-radius:8px;padding:8px 4px;text-align:center;font-size:9px;cursor:pointer;}
    #creator .ctool .icon{font-size:20px;}
    #creator .ctool:active{background:#d8a920;color:#111;}
    #creator .osbtn{position:absolute;top:10px;right:10px;background:#1a1a1a;border:1px solid #444;border-radius:8px;padding:6px 12px;font-size:12px;color:#e8dcc0;cursor:pointer;}
    #creator .actions{position:absolute;bottom:0;left:0;right:0;background:#1a1a1a;border-top:1px solid #3a3a3a;padding:10px;}
    #creator .actions .shelf{display:flex;gap:8px;margin-bottom:8px;}
    #creator .actions .shelf button{flex:1;background:#222;border:1px solid #444;border-radius:8px;padding:10px;font-size:11px;color:#e8dcc0;}
    #creator .export{width:100%;background:#2a1a0a;border:2px solid #d8a920;border-radius:10px;padding:14px;font-size:16px;color:#ffd700;font-weight:bold;letter-spacing:1px;}
    #creator .blockpicker{position:absolute;right:10px;bottom:180px;width:150px;background:#1a1a1a;border:1px solid #3a3a3a;border-radius:10px;padding:10px;max-height:300px;overflow-y:auto;}
    #creator .blockpicker .h{font-size:11px;font-weight:bold;margin-bottom:8px;color:#ffd700;}
    #creator .block{background:#222;border:1px solid #444;border-radius:8px;padding:8px;margin:4px 0;font-size:11px;cursor:pointer;display:flex;align-items:center;gap:8px;}
    #creator .block .icon{font-size:20px;}
    #creator .block:active{background:#d8a920;color:#111;}
    #creator .linework{position:absolute;right:170px;top:60px;width:140px;background:#1a1a1a;border:1px solid #3a3a3a;border-radius:10px;padding:10px;}
    #creator .linework .h{font-size:11px;font-weight:bold;margin-bottom:8px;color:#ffd700;}
    #creator .lw-opt{background:#222;border:1px solid #444;border-radius:6px;padding:6px;margin:4px 0;font-size:10px;text-align:center;cursor:pointer;}
    #creator .lw-opt.on{background:#d8a920;color:#111;}
    #creator .close{position:absolute;top:10px;left:10px;width:36px;height:36px;background:#222;border:1px solid #444;border-radius:50%;color:#ffd700;font-size:20px;}
    #creator .viewport{position:absolute;top:200px;left:130px;right:320px;bottom:180px;display:flex;align-items:center;justify-content:center;color:#444;font-size:14px;}
  `;
  function open(){
    if(OPEN) return;
    OPEN = true;
    var style = document.createElement('style');
    style.textContent = CSS;
    style.id = 'creator-css';
    document.head.appendChild(style);
    el = document.createElement('div');
    el.id = 'creator';
    el.innerHTML = `
      <div class="topbar">THE CREATOR (V-0.13)</div>
      <button class="close" onclick="window._creator.close()">×</button>
      <button class="osbtn" onclick="window._creator.close()">Os button - ×</button>
      <div class="leftbar">
        <div class="tool" data-fn="prim