:root{color-scheme:light;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:#fdd9cd;touch-action:manipulation;user-select:none;-webkit-user-select:none}#app{width:100%;height:100%;display:flex;flex-direction:row;align-items:stretch}#home-stage{flex:1 1 auto;min-width:0;width:100%;height:100%;display:flex;align-items:center;justify-content:center;overflow:hidden;background:#fdd9cd}#home-stage canvas{display:block;width:100%!important;height:100%!important;touch-action:manipulation}.tester-panel{width:390px;max-width:44vw;height:100%;background:#fff;border-left:1px solid #e5d8d2;display:flex;flex-direction:column;overflow:hidden;color:#1f2937;font-size:13px}.tester-panel.hidden{display:none}.tester-header{padding:12px 14px;background:#4e3b34;color:#fff;display:flex;align-items:center;justify-content:space-between;gap:8px}.tester-header h2{font-size:14px;font-weight:700}.tester-badge{font-size:11px;padding:2px 8px;border-radius:999px;background:#fbbf24;color:#3b2416;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 #ece3de;border-radius:10px;padding:10px;background:#fcfaf9;display:flex;flex-direction:column;gap:8px}.tester-section h3{font-size:12px;text-transform:uppercase;letter-spacing:.04em;color:#6b554c}.tester-row{display:flex;flex-wrap:wrap;gap:6px;align-items:center}.tester-btn{border:1px solid #d6c5bd;background:#fff;color:#3f2e27;padding:6px 10px;border-radius:8px;font-size:12px;font-weight:600;cursor:pointer}.tester-btn:hover{background:#f8efeb}.tester-btn.primary{background:#e16a4b;border-color:#e16a4b;color:#fff}.tester-btn.primary:hover{background:#cf5b3d}.tester-input{border:1px solid #d6c5bd;border-radius:6px;padding:5px 8px;font-size:12px;width:100%}.tester-stat-grid{display:grid;grid-template-columns:74px 1fr 56px;gap:6px;align-items:center;font-size:12px}.tester-log{background:#18181b;color:#e4e4e7;font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:11px;padding:8px;border-radius:8px;max-height:200px;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}.tester-log-entry .dir-out{color:#34d399;font-weight:700}.tester-log-entry .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 #e5d8d2}}
