.page-circuits{max-width:var(--maxw);width:100%;min-height:calc(100vh - 55px);margin:0 auto;padding:22px 18px 56px}.page-circuits.wide{max-width:1640px;padding-top:16px}.page-circuits h1,.page-circuits h2,.page-circuits h3{margin:0;font-family:Oswald,sans-serif}.page-circuits h1{color:var(--gold-b);overflow-wrap:anywhere;font-size:28px}.page-circuits h2{margin:26px 0 12px;font-size:19px}.page-circuits h3{color:var(--gold-b);margin-bottom:8px;font-size:14px}.page-circuits .ec-head{flex-wrap:wrap;justify-content:space-between;align-items:flex-end;gap:14px;margin-bottom:14px;display:flex}.page-circuits .ec-head p{color:var(--dim);max-width:760px;margin:6px 0 0;font-size:13.5px}.page-circuits .ec-panel{background:var(--panel);border:1px solid var(--line);border-radius:11px;min-width:0;padding:14px}.page-circuits .ec-small{color:var(--dim);margin:6px 0;font-size:12px}.page-circuits .ec-error{color:#e5877a;font-size:13px}.page-circuits .ec-ok{color:var(--green);font-size:13px}.page-circuits button:disabled{opacity:.5;cursor:default}.page-circuits .ec-input{border:1px solid var(--line);width:100%;min-width:0;color:var(--txt);font:inherit;background:#0000004d;border-radius:7px;padding:7px 10px;font-size:13px}.page-circuits .ec-input:focus{border-color:var(--rust-b);outline:none}.page-circuits .ec-input.auto{width:auto}.page-circuits .ec-field{color:var(--dim);flex-direction:column;gap:5px;margin-bottom:9px;font-size:12px;display:flex}.page-circuits .ec-check{align-items:center;gap:8px;margin-bottom:8px;font-size:13px;display:flex}.page-circuits input[type=checkbox],.page-circuits input[type=range]{accent-color:var(--rust-b)}.page-circuits .ec-actions{flex-wrap:wrap;align-items:center;gap:7px;display:flex}.page-circuits .ghost-btn.danger,.page-circuits .mini-btn.danger{color:#e5877a}.page-circuits .ec-filter{flex-wrap:wrap;gap:8px;margin-bottom:12px;display:flex}.page-circuits .ec-filter .ec-input{flex:1;min-width:180px;max-width:360px}.page-circuits .ec-chips{flex-wrap:wrap;gap:6px;margin-bottom:12px;display:flex}.page-circuits .ec-chips a{color:var(--dim);border:1px solid var(--line);background:var(--panel);border-radius:6px;padding:6px 11px;font-size:12.5px}.page-circuits .ec-chips a.on{color:#fff;background:linear-gradient(160deg, var(--rust), var(--rust-d));border-color:var(--rust-b)}.page-circuits .ec-grid{grid-template-columns:repeat(auto-fill,minmax(250px,1fr));gap:12px;display:grid}.page-circuits .ec-card{background:var(--card);border:1px solid var(--line);border-radius:11px;flex-direction:column;min-width:0;transition:all .15s;display:flex;overflow:hidden}.page-circuits .ec-card:hover{border-color:#d24a2e80;transform:translateY(-1px)}.page-circuits .ec-card svg{background:#141210;width:100%;height:130px}.page-circuits .ec-card div{flex-direction:column;gap:4px;padding:10px 12px;display:flex}.page-circuits .ec-card b{overflow-wrap:anywhere;font-family:Oswald,sans-serif;font-weight:600}.page-circuits .ec-card span{color:var(--dim);font-size:12px}.page-circuits .ec-empty{text-align:center;color:var(--dim);border:1px dashed var(--line);border-radius:11px;padding:34px 20px;font-size:13.5px}.page-circuits .ec-pager{color:var(--dim);justify-content:center;align-items:center;gap:10px;margin-top:18px;font-size:13px;display:flex}.page-circuits .ec-stars{gap:3px;display:inline-flex}.page-circuits .ec-stars button{color:#5b544a;padding:2px}.page-circuits .ec-stars button.on{color:var(--gold-b)}.page-circuits .ec-toolbar{flex-wrap:wrap;align-items:center;gap:10px;margin-bottom:10px;display:flex}.page-circuits .ec-toolbar .ec-actions{border-right:1px solid var(--line);padding-right:10px}.page-circuits .ec-toolbar .ec-actions:last-child{border-right:0;margin-left:auto;padding-right:0}.page-circuits .ec-stat{color:var(--dim);font-variant-numeric:tabular-nums;font-size:12.5px}.page-circuits .ec-stat b{color:var(--txt)}.page-circuits .ec-editor{grid-template-columns:220px minmax(0,1fr) 290px;gap:10px;height:min(78vh,860px);min-height:480px;display:grid}.page-circuits .ec-editor.view{grid-template-columns:minmax(0,1fr) 290px}.page-circuits .ec-side{min-height:0;overflow-y:auto}.page-circuits .ec-board{border:1px solid var(--line);background:#100e0c;border-radius:11px;min-height:0;position:relative;overflow:hidden}.page-circuits .ec-board-empty{pointer-events:none;color:var(--dim);text-align:center;z-index:4;place-items:center;padding:20px;font-size:13.5px;display:grid;position:absolute;inset:0}.page-circuits .ec-palette button{text-align:left;cursor:grab;border-radius:6px;align-items:center;gap:8px;width:100%;padding:5px 7px;font-size:12.5px;display:flex}.page-circuits .ec-palette button:hover{background:#d24a2e2e}.page-circuits .raid-ic{object-fit:contain;background:#0000004d;border-radius:5px;flex:none;place-items:center;font-family:Oswald,sans-serif;display:inline-grid}.page-circuits .ec-node{min-width:190px;color:var(--txt);background:#201c17;border:1.5px solid #ffffff24;border-radius:9px;font-size:11.5px;box-shadow:0 4px 14px #00000059}.page-circuits .ec-node.live{border-color:#7fae3abf}.page-circuits .ec-node.warn{border-color:var(--gold-b)}.page-circuits .ec-node.bad{border-color:#e5533d}.page-circuits .react-flow__node.selected .ec-node{box-shadow:0 0 0 2px var(--rust-b), 0 4px 14px #00000059}.page-circuits .ec-node header{border-bottom:1px solid var(--line);align-items:center;gap:7px;padding:6px 9px;font-family:Oswald,sans-serif;font-size:12.5px;display:flex}.page-circuits .ec-node header small{color:var(--gold-b);white-space:nowrap;margin-left:auto;font-family:Inter,sans-serif}.page-circuits .ec-ports{justify-content:space-between;gap:14px;padding:5px 0;display:flex}.page-circuits .ec-ports ul{margin:0;padding:0;list-style:none}.page-circuits .ec-ports li{white-space:nowrap;align-items:center;gap:5px;height:21px;padding:0 9px;display:flex;position:relative}.page-circuits .ec-ports ul:last-child li{justify-content:flex-end}.page-circuits .ec-ports li.control{color:var(--dim);font-style:italic}.page-circuits .ec-ports b{font-variant-numeric:tabular-nums;color:var(--green);font-style:normal}.page-circuits .ec-ports b.zero{color:#6d655b}.page-circuits .ec-node .react-flow__handle{border:2px solid var(--gold-b);background:#0f0e0c;width:11px;height:11px}.page-circuits .ec-node li.control .react-flow__handle{border-color:#6fb7e0}.page-circuits .ec-node .react-flow__handle.on{background:var(--green)}.page-circuits .ec-node footer{color:var(--dim);padding:0 9px 6px}.page-circuits .ec-meter{background:#ffffff14;border-radius:3px;height:5px;margin-top:3px;overflow:hidden}.page-circuits .ec-meter i{background:var(--green);height:100%;display:block}.page-circuits .react-flow__edge-path{stroke:#6d655b;stroke-width:2.5px}.page-circuits .react-flow__edge.live .react-flow__edge-path{stroke:var(--green)}.page-circuits .react-flow__edge.selected .react-flow__edge-path{stroke:var(--rust-b)}.page-circuits .react-flow__edge-textbg{fill:#17140f}.page-circuits .react-flow__edge-text{fill:var(--txt);font-size:10px}.page-circuits .react-flow__controls button{border-bottom-color:var(--line);fill:var(--txt);background:#201c17}.page-circuits .react-flow__attribution{background:#00000080}.page-circuits .react-flow__attribution a{color:var(--dim)}.page-circuits .ec-kv{grid-template-columns:auto minmax(0,1fr);gap:4px 10px;margin:8px 0;font-size:12.5px;display:grid}.page-circuits .ec-kv dt{color:var(--dim)}.page-circuits .ec-kv dd{text-align:right;font-variant-numeric:tabular-nums;margin:0}.page-circuits .ec-problems{flex-direction:column;gap:5px;margin:0;padding:0;list-style:none;display:flex}.page-circuits .ec-problems button,.page-circuits .ec-problems li>span{text-align:left;border-left:3px solid var(--gold-b);background:#e0b84a1a;border-radius:6px;width:100%;padding:6px 9px;font-size:12px;display:block}.page-circuits .ec-problems .bad{background:#e5533d1f;border-left-color:#e5533d}.page-circuits .ec-cert{color:var(--dim);background:#ffffff0f;border-radius:4px;margin:4px 0;padding:3px 7px;font-size:11px;display:inline-block}.page-circuits .ec-cert.game,.page-circuits .ec-cert.official{color:var(--green)}.page-circuits .ec-cert.community{color:var(--gold-b)}.page-circuits hr{border:0;border-top:1px solid var(--line);margin:12px 0}@media (max-width:1100px){.page-circuits .ec-editor,.page-circuits .ec-editor.view{grid-template-columns:minmax(0,1fr);height:auto}.page-circuits .ec-board{order:1;height:70vh}.page-circuits .ec-palette{order:2;max-height:300px}.page-circuits .ec-inspector{order:3}.page-circuits .ec-toolbar .ec-actions{border-right:0}.page-circuits .ec-toolbar .ec-actions:last-child{margin-left:0}}@media (max-width:600px){.page-circuits{padding:14px 10px 40px}.page-circuits h1{font-size:23px}}
