:root{font-family:Inter,Segoe UI,system-ui,-apple-system,sans-serif}*{box-sizing:border-box;margin:0;padding:0}html,body{width:100%;height:100%;overflow:hidden;background:#1e1b4b;touch-action:manipulation;user-select:none;-webkit-user-select:none}#app{width:100%;height:100%;display:flex;flex-direction:row;align-items:stretch}#fun-stage{flex:1 1 auto;min-width:0;width:100%;height:100%;display:flex;align-items:center;justify-content:center;overflow:hidden;background:#0f172a}#fun-stage canvas{display:block;width:100%!important;height:100%!important;touch-action:manipulation}.tester-panel{width:380px;max-width:42vw;height:100%;background:#fff;border-left:1px solid #cbd5e1;display:flex;flex-direction:column;overflow:hidden;color:#0f172a;font-size:13px}.tester-panel.hidden{display:none}.tester-header{padding:12px 14px;background:#4c1d95;color:#fff;display:flex;align-items:center;justify-content:space-between}.tester-header h2{font-size:14px;font-weight:700}.tester-badge{font-size:11px;padding:2px 8px;border-radius:999px;background:#fde047;color:#3b0764;font-weight:700}.tester-body{flex:1;overflow-y:auto;padding:12px 14px;display:flex;flex-direction:column;gap:12px}.tester-section{border:1px solid #e2e8f0;border-radius:10px;padding:10px;background:#f8fafc;display:flex;flex-direction:column;gap:8px}.tester-section h3{font-size:12px;text-transform:uppercase;color:#475569}.tester-row{display:flex;flex-wrap:wrap;gap:6px;align-items:center}.tester-btn{border:1px solid #cbd5e1;background:#fff;color:#1e293b;padding:6px 10px;border-radius:8px;font-size:12px;font-weight:600;cursor:pointer}.tester-btn.primary{background:#7c3aed;border-color:#7c3aed;color:#fff}.tester-log{background:#09090b;color:#e4e4e7;font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:11px;padding:8px;border-radius:8px;max-height:240px;overflow-y:auto;display:flex;flex-direction:column;gap:4px}.tester-log-entry{border-bottom:1px solid #27272a;padding-bottom:3px;word-break:break-word}.dir-out{color:#34d399;font-weight:700}.dir-in{color:#60a5fa;font-weight:700}@media(max-width:860px){#app{flex-direction:column}.tester-panel{width:100%;max-width:100%;height:44%;border-left:none;border-top:1px solid #cbd5e1}}
