body{ margin: 0; } *{ user-select: none; box-sizing: border-box; } *[data-tooltip] { touch-action: none; } /* ===== 接线 pin 交互样式(全局) ===== */ .pin { background-color: transparent !important; border: 2px dashed transparent; border-radius: 50%; box-sizing: border-box; transition: border-color 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease; } .pin:hover { border-color: rgba(59, 130, 246, 0.95); background-color: rgba(255, 255, 255, 0.06); } .pin.pin-connecting { border-color: rgba(59, 130, 246, 0.95); background-color: rgba(59, 130, 246, 0.10); box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.25), 0 0 14px rgba(59, 130, 246, 0.55); } .btn, .xymode, .power-btn{ touch-action: none; }